-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyles.css
40 lines (35 loc) · 852 Bytes
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav a {
text-decoration: none;
color: #333;
font-weight: bold;
font-size: 16px;
transition: color 0.3s;
}
nav a:hover {
color: #007bff;
}
/* Basic Button Styling */
button {
display: inline-block;
padding: 10px 20px;
background-color: #3498db; /* Button color */
color: #fff; /* Text color */
text-decoration: none; /* Remove underline for anchor tags */
border: none; /* Remove border */
border-radius: 5px; /* Rounded corners */
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Shadow effect */
transition: transform 0.2s, box-shadow 0.2s;
}
/* Hover Effect */
button:hover {
transform: scale(1.05); /* Increase size on hover */
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); /* Slightly larger shadow on hover */
}