Files
week1-day4-flexbox/style.css
2026-03-26 11:43:25 +00:00

45 lines
611 B
CSS

body {
font-family: Arial, sans-serif;
background-color: #ecf0f1;
}
/* FLEXBOX CONTAINER */
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* CARD DESIGN */
.card {
background: white;
padding: 20px;
width: 350px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* TEXT STYLING */
h1 {
text-align: center;
color: #2c3e50;
}
h2 {
color: #34495e;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
color: red;
}
.card:hover {
transform: scale(1.03);
transition: 0.3s;
}