Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Sofia wants more highly contrasting colors when the page is displayed in a mobile device. Create a media query for mobile screen devices with maximum
Sofia wants more highly contrasting colors when the page is displayed in a mobile device. Create a media query for mobile screen devices with maximum widths of 480 pixels. Within that media query, insert a style rule that sets the font color of all body text to rgb(211, 211, 211) and sets the body background color to rgb(51, 51, 51). Sofia also wants to reduce the clutter in the mobile version of the home page. Hide the following elements for mobile users. . the aside element, any ing element within the article element, and the section#spotlight element. Mobile Navigation Lists At the top of the web page is a navigation list with the ID #top . For mobile devices, display the ul element within this navigation list as a flexbox row with wrapping. For each list item within this ul element, set the font size to 2.2en . Size the list items by setting their flex values to 1 for the growth and shrink rates and 130 pixels for the basis value. Mobile Navigation List Items Under the mobile layout, the six list items in the top navigation list should appear as square blocks with different background images. Using the selector nav#top ul li: nth-of-type( 1) for the first list item, create a style rule that changes the background to the background image cw image01.png. Center the background image with no tiling and size it so that the entire image is contained within the background Repeat the previous step for the next five list items using the same general format. Use the cw image02.png file for background of the second list item, the cw_image03.png file for the third list item background, and so forth. Mobile Hypertext and Hyperlink Styles Sofia has placed hypertext links for the gallery's phone number and e-mail address in a paragraph with the ID #Links For mobile users, she wants these two hypertext links spaced evenly within the paragraph that is displayed below the top navigation list. To format these links, create a style rule that displays the links paragraph as a flexbox row with no wrapping, then add a style that sets the value of the justify-content property of the paragraph to space-around She wants the telephone and e-mail links to be prominently displayed on mobile devices. For each a element within the links paragraph, apply the following style rule that: displays the link text in white on the background color rgb(220, 27, 27) , sets the border radius around each hypertext to 20 pixels with 10 pixels of padding, and removes any underlining from the hypertext links. . Sofia wants more highly contrasting colors when the page is displayed in a mobile device. Create a media query for mobile screen devices with maximum widths of 480 pixels. Within that media query, insert a style rule that sets the font color of all body text to rgb(211, 211, 211) and sets the body background color to rgb(51, 51, 51). Sofia also wants to reduce the clutter in the mobile version of the home page. Hide the following elements for mobile users. . the aside element, any ing element within the article element, and the section#spotlight element. Mobile Navigation Lists At the top of the web page is a navigation list with the ID #top . For mobile devices, display the ul element within this navigation list as a flexbox row with wrapping. For each list item within this ul element, set the font size to 2.2en . Size the list items by setting their flex values to 1 for the growth and shrink rates and 130 pixels for the basis value. Mobile Navigation List Items Under the mobile layout, the six list items in the top navigation list should appear as square blocks with different background images. Using the selector nav#top ul li: nth-of-type( 1) for the first list item, create a style rule that changes the background to the background image cw image01.png. Center the background image with no tiling and size it so that the entire image is contained within the background Repeat the previous step for the next five list items using the same general format. Use the cw image02.png file for background of the second list item, the cw_image03.png file for the third list item background, and so forth. Mobile Hypertext and Hyperlink Styles Sofia has placed hypertext links for the gallery's phone number and e-mail address in a paragraph with the ID #Links For mobile users, she wants these two hypertext links spaced evenly within the paragraph that is displayed below the top navigation list. To format these links, create a style rule that displays the links paragraph as a flexbox row with no wrapping, then add a style that sets the value of the justify-content property of the paragraph to space-around She wants the telephone and e-mail links to be prominently displayed on mobile devices. For each a element within the links paragraph, apply the following style rule that: displays the link text in white on the background color rgb(220, 27, 27) , sets the border radius around each hypertext to 20 pixels with 10 pixels of padding, and removes any underlining from the hypertext links
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started