-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.css
executable file
·76 lines (65 loc) · 1 KB
/
main.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
header {
height: 100px;
background: black;
color: white;
padding: 4px;
}
h1 {
font-family: 'Helvetica', 'Arial', sans-serif;
font-size: 64px;
text-align: center;
margin: 0;
}
main {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100vw;
height: 100vh;
justify-content: space-evenly;
align-items: space-evenly;
}
section {
width: 40vw;
height: 40vh;
margin: 16px;
display: flex;
justify-content: center;
align-items: center;
}
#square {
width: 40vw;
height: 40vw;
}
#circle {
width: 40vw;
height: 40vw;
border-radius: 20vw;
}
#rectangle {
width: 40vmax;
height: 20vmax;
margin-top: 64px;
}
#triangle {
width: 0;
height: 0;
border-left: 40vmin solid transparent;
border-right: 40vmin solid transparent;
border-bottom: 60vmin solid pink;
border-top: none;
padding-top: 30vmin;
}
.yellow {
background: yellow;
}
.red {
background: red;
}
.blue {
background: blue;
color: white;
}
.bigBorders {
border: 15px solid black;
}