curriculum/challenges/english/blocks/workshop-flexbox-photo-gallery/64dd136e4e8b0894f9c70d86.md
Now that you have figured out your box-sizing approach, you can clean up the CSS you added to see the changes.
Remove your .gallery and img selectors, and all rules within.
You should not have a .gallery selector.
assert.notExists(new __helpers.CSSHelp(document).getStyle('.gallery'));
You should not have an img selector.
assert.notExists(new __helpers.CSSHelp(document).getStyle('img'));
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo Gallery</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<header class="header">
<h1>css flexbox photo gallery</h1>
</header>
<div class="gallery">
</div>
</body>
</html>
* {
box-sizing: border-box;
}
--fcc-editable-region--
.gallery {
border: 5px solid red;
width: 50%;
}
img {
width: 100%;
border: 5px solid blue;
padding: 5px;
}
--fcc-editable-region--