question archive Provide a style rule that sets the flex size of all section elements that are direct children of the page body be equal regardless of the size of the flexbox

Provide a style rule that sets the flex size of all section elements that are direct children of the page body be equal regardless of the size of the flexbox

Subject:Computer SciencePrice:2.86 Bought3

Provide a style rule that sets the flex size of all section elements that are direct children of the page body be equal regardless of the size of the flexbox.

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

HTML:

<body>
  <section>Section 1</section>
  <section>Section 2</section>
  <section>Section 3</section>
</body>

 

CSS:

body {
  display: flex
}

body > section {
  flex: 1
}

Related Questions