New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN: 9781305503922
Author: Patrick M. Carey
Publisher: Cengage Learning
Question
Book Icon
Chapter 5, Problem 8CP1
Program Plan Intro

To create a CSS style rule in file gp_layout.css to set the growth and shrink rate of the sheet section to 3and 1 respectively and set its basis size to 301 pixels.

Blurred answer
Students have asked these similar questions
Help me complete this task.  In the style rules for the mobile viewport, below the main style rule, add a new style rule for the section element that sets the background-color to #183440, the color to #fff, top margin to 4%, and padding to 3%. Below the section style rule, create a new style rule for the article element that sets the top margin to 1% and padding to 2%. Below the article style rule, create a new style rule for the aside element that sets the background-color to rgba(24, 52, 64, 0.3), padding to 2%, top margin to 1%, color to #183440, and a box-shadow with values of 4px 4px 10px #183440.   My CSS /* CSS Reset */ body, header, nav, main, footer, h1, div, section, article, aside {     margin: 0;     padding: 0;     border: 0; } /* Style rule for body */ body {   background-color: #c8dbE3; } /* Style rules for mobile viewport */ /*style rule for section*/ section {     background-color: #183440;     color: #fff;     margin-top: 4%;     padding: 3%; } /*style rule for…
Go to the "Flex Layout Styles" section and insert a style rule to display the body element as a flexbox oriented as rows with wrapping. The page body content has two main elements. The section element with the ID sheet contains the panels from the comic book page. The article element contains information about the comic book industry during the Golden Age. Devan wants more of the page width to be given to the comic book sheet. Add a style rule that sets the flex growth and shrink rate of the section#sheet selector to 3 and 1 respectively and set its flex basis size to 301 pixels. Less page width will be given to the article element. Create a style rule to set its flex growth and shrink values to 1 and 3 respectively and set its flex basis size to 180 pixels. Mobile Devices Go to the "Mobile Devices" section and create a media query for screen devices with a maximum width of 480 pixels. With mobile devices, Devan wants each comic book panel image to occupy a single row. Create a style…
Add a blank line after the contact id style rule, add a comment with the text Style rules for footer content, and then create the following style rules for the footer and footer a selectors. Create a style rule for the footer selector that aligns text center, sets a font size value of 0.85em, sets a background color value of #2a1f14, sets a font color value of #f6eee4, and sets top and bottom padding values to 1% and right and left padding values to 0%. Create a style rule for footer a that sets the font color value to #f3e6d8 and removes the text decoration. I'm not sure what is wrong then my footer section.  --- HTML <!-- Write your code here --> <!--Student Name:     File Name: contact.html     Date:10/04/2022 --> <!DOCTYPE html> <html lang="en">   <head>   <title>Wild Rescues: Contact</title>      <meta charset="utf-8">       <link rel="stylesheet" href="css/styles.css" />   <body>     <header>       <img…

Chapter 5 Solutions

New Perspectives on HTML5, CSS3, and JavaScript

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning