Question
Document Setup Go to the cw_home.html and cw_styles.css files and enter your name and the date in the comment section of each file. In cw_styles.css
Document Setup
Go to the cw_home.html and cw_styles.css files and enter your name and the date in the comment section of each file. In cw_styles.css file and at the top of the file, use the @import rule to import the contents of the cw_designs.css file, which contains several style rules that format the appearance of different page elements.
Go to the cw_home.html file and within the document head, insert a meta element that sets the browser viewport for use with mobile devices. Also, create links to cw_reset.css and cw_styles.css style sheets. Take some time to study the contents and structure of the document.
--------------
Styles
Navigation List
At the bottom of the home page is a navigation list with the id #bottom containing several ul elements. Sofia wants these ul elements laid out side-by-side. Create a style rule for the bottom navigation list displaying it as a flexbox row with no wrapping. Set the justify-contentproperty so that the flex items are centered along the main axis. Be sure to include the WebKit browser extension in all of your flex styles.
Define flex values for ul elements within the bottom navigation list so that the width of those elements never exceeds 150 pixels but can shrink below that value.
---------------
Mobile Devices
Mobile Media Query
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 img 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.2em. 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 gallerys 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
The question seems incomplete as it asks to perform a series of tasks related to HTML and CSS ...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