odin-css-exercises/flex/flex-layout-2/style.css

28 lines
483 B
CSS
Raw Normal View History

2021-08-24 08:59:06 -07:00
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
min-height: 100vh;
}
.header {
height: 72px;
background: darkmagenta;
color: white;
}
.footer {
height: 72px;
background: #eee;
color: darkmagenta;
}
.sidebar {
width: 300px;
background: royalblue;
}
.card {
border: 1px solid #eee;
box-shadow: 2px 4px 16px rgba(0,0,0,.06);
border-radius: 4px;
}