-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecreate webpage.css
91 lines (78 loc) · 1.37 KB
/
Recreate webpage.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
* {
margin: 0;
}
body {
height: 100vh;
display: flex;
flex-direction: column ;
background-color: rgb(15, 112, 177);
align-items: center;
justify-content: flex-start;
font-family: Arial, Helvetica, sans-serif;
}
h1 {
margin: 48px
font-size: 32px
text-transform: uppercase;
letter-spacing: 8px;
text-align: :center;
}
.radio-container {
font-size: 24px;
padding: 20px;
display: flex;
border: 3px;
align-items: center;
}
input[type="radio"] {
display: none;
}
label {
position: relative;
cursor: pointer;
font-weight: bold;
padding-right: 42px;
}
label:nth-last-child(1) {
padding-right: 0;
}
label::before {
content: "";
border: 2px solid rgb(20, 107, 148);
display: flex;
width: 30px;
height: 30px;
margin: -8px 20px;
padding: 2px;
margin-left: 10px:
border-radius: 50%
}
label::after {
content: "";
display: flex;
position: absolute;
width: 50%;
height: 20px;
background: rgba(128, 128, 128, 0);
left: 7px;
top: 12px;
margin: -8px 20px;
margin-left: 45px;
border-radius: 50%
transition: 0.4s;
}
input[type="radio"]:checked + label::after {
background: rgb(22, 123, 218);
}
h1 {
color: rgb(8, 11, 14);
}
.h1-color{
color: rgb(250, 248, 248);
}
h2 {
color: white;
}
.h2-color {
color: black;
}