-
Notifications
You must be signed in to change notification settings - Fork 3
/
howtousecss.css
65 lines (56 loc) · 1.09 KB
/
howtousecss.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Style the header */
header {
background: linear-gradient(to right, #fff, rgba(57, 152, 206, 0.65));
text-align: center;
padding: 20px 0;
}
header h1 {
font-family: 'Martel', sans-serif;
font-size: 2rem;
color: #333;
}
/* Style the content section */
.content {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
/* Style the individual steps */
.step {
display: flex;
margin-bottom: 20px;
background-color: #fff;
border: 2px solid #f5f5f5;
border-radius: 10px;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.step:hover {
transform: scale(1.03);
}
.step-number {
flex: 1;
background-color: #333;
color: #fff;
text-align: center;
font-size: 1.5rem;
padding: 10px;
border-radius: 8px;
margin-right: 10px;
}
.step-description {
flex: 3;
}
.step h2 {
font-family: 'Martel', sans-serif;
font-size: 1.5rem;
color: #333;
}
/* Add more styles as needed */