odin-margin-padding/01-margin-and-padding-1/solution/solution.css

28 lines
393 B
CSS
Raw Normal View History

2023-12-29 10:34:02 +00:00
body {
max-width: 600px;
margin: 0 auto;
}
.one {
background: pink;
border: 3px solid blue;
/* CHANGE ME */
padding: 32px;
margin: 12px;
}
.two {
background: lightblue;
border: 3px solid purple;
/* CHANGE ME */
margin-bottom: 48px;
}
.three {
background: peachpuff;
border: 3px solid brown;
width: 200px;
/* CHANGE ME */
padding: 32px;
margin-left: auto;
}