odin-flex/01-flex-center/style.css

18 lines
315 B
CSS
Raw Normal View History

2023-12-29 16:21:21 +00:00
.container {
background: dodgerblue;
border: 4px solid midnightblue;
width: 400px;
height: 300px;
2023-12-29 16:24:13 +00:00
display: flex;
justify-content: center;
align-items: center;
2023-12-29 16:21:21 +00:00
}
.box {
background: palevioletred;
font-weight: bold;
text-align: center;
border: 6px solid maroon;
width: 80px;
height: 80px;
}