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 17CP1

(a)

Program Plan Intro

To set the width of class size1 of comic book panel img elements to 100% within the media query style in the file gp_layout.css.

(b)

Program Plan Intro

To set the width of class size2 of comic book panel img elements to 60% within the media query style in the file gp_layout.css.

(c)

Program Plan Intro

To set the width of class size3 of comic book panel img elements to 40% within the media query style in the file gp_layout.css.

(d)

Program Plan Intro

To set the width of class size4 of comic book panel img elements to 30% within the media query style in the file gp_layout.css.

Blurred answer
Students have asked these similar questions
Step 2 Below the tablet media query, add a new comment with the text, Media Query for Desktop Viewport. Below the comment, add a new media query that targets a screen with a minimum width of 769px and print. Within the desktop media query, add a new comment with the text, Desktop Viewport: Style rule for header. Below the comment, add a style rule for the header selector that sets the padding to 2%.   Within the desktop media query, below the header style rule, add a new comment with the text, Desktop Viewport: Style rules for nav area. Below the comment, add a style rule for the nav li a selector that sets the padding to 0.5em on the top and bottom and 1.5em on the left and right. Add another style rule for the nav li a selector that uses the hover pseudo-class and sets the color to #373684 and the background-color to #e5e9fc. 2   Within the desktop media query, below the nav area style rules, add a new comment with the text, Desktop Viewport: Style rules…
In the large desktop media query, below the last style rule, add the following style rules: Add a style rule for the grid class selector that sets the grid template columns to a four column layout. Add a style rule for the aside element that sets the grid column value to 1 / span 4, and set the font size to 3em.   My CSS  /*CSS Reset*/ body, header, nav, main, footer, img, h1, h3, ul, aside, figure, figcaption {   margin: 0;   padding: 0;   border: 0; } /*Style rules for body and images*/ body {     background-color: #f6eee4; } img {     max-width: 100%;     display: block; } /* Style rules for mobile viewport */ /* Style rules to show mobile class and hide tab-desk class */ .mobile {   display: block;   } .tab-desk {   display: none; } /* Style rules for header area */ .mobile h1 {   padding:2%;   text-align:center;   font-family:'Emblema One', cursive; } .mobile h3 {   padding:2%;   text-align:center;   font-family:'Lora', serif;  } /*Style rules for navigation area*/ nav {…
Create a media query for all screen devices with a width of at least 481 pixels. Within the media query, create a style that hides the display of the navicon.

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
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage