In the styles.css file, add the section, aside, figure, and figcaption elements to the CSS reset. Below the img style rule, add the following comment and style rule: /* Style rule for box sizing applies to all elements */   * {           box-sizing: border-box;       } Create a style rule for the aside element within the mobile viewport and include the following declarations: text-align: center; font-size: 1.5em; font-weight: bold; color: #373684; text-shadow: 3px 3px 10px #8280cb;   Create a style rule for the figure element within the mobile viewport, and include the following declarations: position: relative; max-width: 275px; margin: 2% auto; border: 8px solid #373684;   Create a style rule for the figcaption element within the mobile viewport, and include the following declarations: position: absolute; bottom: 0; background: rgba(55, 54, 132, 0.7); color: #fff; width: 100%; padding: 5% 0; text-align: center; font-family: Verdana, Arial, sans-serif; font-size: 1.5em; font-weight: bold;   In the tablet media query, create a style rule for the grid class selector that sets the display to a grid, sets the grid template columns to a two-column layout, a   Create a style rule for the aside element that sets the grid column value to 1 / span 2.   In the desktop media query, create a style rule for the grid class selector that sets the grid-template-columns to a four column layout.     Create a style rule for the figcaption element that sets the font-size to 1em. Create a style rule for the aside element that sets the grid-column value to 1 / span 4.   Add the following link elements within the head element on all of the HTML files, including the template.html file:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

In the styles.css file, add the section, aside, figure, and figcaption elements to the CSS reset.

Below the img style rule, add the following comment and style rule:

/* Style rule for box sizing applies to all elements */  
* {  
        box-sizing: border-box; 
     }

Create a style rule for the aside element within the mobile viewport and include the following declarations:

  • text-align: center;
  • font-size: 1.5em;
  • font-weight: bold;
  • color: #373684;
  • text-shadow: 3px 3px 10px #8280cb;

 

Create a style rule for the figure element within the mobile viewport, and include the following declarations:

  • position: relative;
  • max-width: 275px;
  • margin: 2% auto;
  • border: 8px solid #373684;

 

Create a style rule for the figcaption element within the mobile viewport, and include the following declarations:

  • position: absolute;
  • bottom: 0;
  • background: rgba(55, 54, 132, 0.7);
  • color: #fff;
  • width: 100%;
  • padding: 5% 0;
  • text-align: center;
  • font-family: Verdana, Arial, sans-serif;
  • font-size: 1.5em;
  • font-weight: bold;

 

In the tablet media query, create a style rule for the grid class selector that sets the display to a grid, sets the grid template columns to a two-column layout, a

 

Create a style rule for the aside element that sets the grid column value to 1 / span 2.

 
In the desktop media query, create a style rule for the grid class selector that sets the grid-template-columns to a four column layout.
 
 

Create a style rule for the figcaption element that sets the font-size to 1em.

Create a style rule for the aside element that sets the grid-column value to 1 / span 4.

 

Add the following link elements within the head element on all of the HTML files, including the template.html file: <link rel="shortcut icon" href="images/favicon.ico"><link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32.png"><link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png"><link rel="icon" sizes="192x192" href="images/android-chrome-192.png">

 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education