odin-margin-padding/02-margin-and-padding-2/style.css

38 lines
515 B
CSS
Raw Normal View History

2023-12-29 10:34:02 +00:00
body {
background: #eee;
font-family: sans-serif;
}
.card {
width: 400px;
background: #fff;
margin: 16px auto;
2023-12-29 11:33:00 +00:00
padding: 13px;
2023-12-29 10:34:02 +00:00
}
.title {
background: #e3f4ff;
2023-12-29 11:33:00 +00:00
font-size: 1.4rem;
margin: 0 0 11px 0;
padding: 7px;
2023-12-29 10:34:02 +00:00
}
.content {
background: #e3f4ff;
2023-12-29 11:33:00 +00:00
margin-bottom: 11px;
padding: 11px 7px;
2023-12-29 10:34:02 +00:00
}
.button-container {
background: #e3f4ff;
2023-12-29 11:33:00 +00:00
text-align: center;
padding: 8px;
2023-12-29 10:34:02 +00:00
}
button {
background: white;
border: 1px solid #eee;
2023-12-29 11:33:00 +00:00
display: block;
margin: 0 auto;
padding: 8px 18px;
2023-12-29 10:34:02 +00:00
}