-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0-styles.css
55 lines (48 loc) · 858 Bytes
/
0-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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/********** RESET CSS **********/
*,
*::before,
*::after {
box-sizing: border-box;
padding: 0;
margin: 0;
list-style: none;
}
/********** GENERAL **********/
body {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
ul {
display: flex;
gap: 50px;
}
li {
padding: 25px;
font-size: 3rem;
font-weight: bold;
text-align: center;
border: 1px solid #8d8d8d;
border-radius: 15px;
background-color: #f7f7f7;
}
.icon {
width: 286px;
height: 375px;
margin-top: 25px;
margin-bottom: 45px;
display: block;
background: url(./resources/images/0-sprite.png);
background-repeat: no-repeat;
}
.i-html {
background-position: 0, 0;
}
.i-css {
background-position: -290px, 0;
}
.i-js {
background-position: -580px, 0;
}