Update style.css
This commit is contained in:
45
style.css
Normal file
45
style.css
Normal file
@@ -0,0 +1,45 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user