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

28 lines
394 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 */
2023-12-29 10:39:03 +00:00
padding: 24px;
margin: 10px;
2023-12-29 10:34:02 +00:00
}
.two {
background: lightblue;
border: 3px solid purple;
/* CHANGE ME */
2023-12-29 10:39:03 +00:00
margin-bottom: 36px;
2023-12-29 10:34:02 +00:00
}
.three {
background: peachpuff;
border: 3px solid brown;
width: 200px;
/* CHANGE ME */
2023-12-29 10:39:03 +00:00
padding: 36px;
margin-left: 322px;
2023-12-29 10:34:02 +00:00
}