odin-flex/06-flex-layout/solution/solution.css

70 lines
898 B
CSS
Raw Permalink Normal View History

2023-12-29 16:21:21 +00:00
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
height: 100vh;
margin: 0;
overflow: hidden;
font-family: Roboto, sans-serif;
}
img {
width: 600px;
}
button {
font-family: Roboto, sans-serif;
border: none;
border-radius: 8px;
background: #eee;
}
input {
border: 1px solid #ddd;
border-radius: 16px;
padding: 8px 24px;
width: 400px;
}
/* SOLUTION */
body {
display: flex;
flex-direction: column;
}
button {
padding: 8px 16px;
}
.content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 16px;
}
a {
color: #666;
text-decoration: none;
}
.header,
.footer {
display: flex;
justify-content: space-between;
padding: 16px;
}
.footer {
background: #eee;
}
ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 16px
}