Learn CSS Flexbox by Building a Photo Gallery - Step 9

Tell us what’s happening:

The border-box sizing model does the opposite of content-box. The total width of the element, including padding and border, will be the explicit width set.

Sorry if i was asking to many question, my english is not that good.
But the question is, what do they mean with “Will be the explicit width set”.??

Your code so far

/* file: styles.css */

/* User Editable Region */

 * {
  box-sizing: borer-box;
}

/* User Editable Region */


.gallery {
  border: 5px solid red;
  width: 50%;
}

img {
  width: 100%;
  border: 5px solid blue;
  padding: 5px;
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Flexbox by Building a Photo Gallery - Step 9

I will suggest that if you are having a hard time understanding something like this you can look up a different explanation to see if it helps you. For eg this one:

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.