I need help to achieve the desired web page, the following style rules should be utilized: tag: set display to be flex and justify-content to be space-between content class: set display to be flex and flex-wrap to be wrap main-content class: set display to be flex, flex-wrap to be wrap, flex-grow to be 1, and flex-basis to be 70% title class: set display to be flex and align-items to be baseline summary class: set display to be flex, justify-content to be space-evenly, flex-grow to be 1, and flex-basis to be 100% tag child of tag child of summary class: set display to be flex and justify-content to be space-between ingredients and directions classes: set flex-grow to be 1 and flex-basis to be 45% related-content class: set flex-grow to be 1 and flex-basis to be 20%

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter5: Designing For The Mobile Web: Creating A Mobile Website For A Daycare Center
Section: Chapter Questions
Problem 4CP3
icon
Related questions
Question

I need help to achieve the desired web page, the following style rules should be utilized:

  • <header> tag: set display to be flex and justify-content to be space-between
  • content class: set display to be flex and flex-wrap to be wrap
  • main-content class: set display to be flex, flex-wrap to be wrap, flex-grow to be 1, and flex-basis to be 70%
  • title class: set display to be flex and align-items to be baseline
  • summary class: set display to be flex, justify-content to be space-evenly, flex-grow to be 1, and flex-basis to be 100%
  • <div> tag child of <div> tag child of summary class: set display to be flex and justify-content to be space-between
  • ingredients and directions classes: set flex-grow to be 1 and flex-basis to be 45%
  • related-content class: set flex-grow to be 1 and flex-basis to be 20%
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Properties of CSS
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage