-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtriangles.css
More file actions
95 lines (81 loc) · 1.36 KB
/
triangles.css
File metadata and controls
95 lines (81 loc) · 1.36 KB
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
92
93
94
95
.labelA, .labelB, .labelC, .labelAngle , .container, .height-base, .hypotenuse, .side1, .side2, .side3, .label1, .label2, .label3, .label4{
position: absolute;
color: var(--light-beige);
font-weight: bold;
font-size: 20px;
}
.labelAngle{
top: 4.5rem;
left: 8rem;
}
.labelA{
top: 2.5rem;
}
.labelB{
top: 6rem;
left: 5rem;
}
.labelC{
top: 1.5rem;
left: 6rem;
}
.container{
position: relative;
width: 11rem;
height: 5rem;
margin: 4rem auto;
}
.height-base{
height: 6rem;
width: 10.4rem;
border-left: 2px solid var(--light-beige);
border-bottom: 2px solid var(--light-beige);
left: 1rem;
}
.hypotenuse{
height: 1rem;
width: 12rem;
border-bottom: 2px solid var(--light-beige);
left: 0.5rem;
top: 2rem;
transform: rotate(30deg);
}
.side1{
width: 11.2rem;
height: 2.6rem;
border-bottom: 2px solid var(--light-beige);
top: 2.9rem;
left: 0rem;
}
.side2{
transform: rotate(45deg);
height: 8rem;
width: 8rem;
border-top: 2px solid var(--light-beige);
border-left: 2px solid var(--light-beige);
top: 1.5rem;
left: 1.5rem;
}
.side3{
height: 5.6rem;
width: 1rem;
border-left: 2px solid var(--light-beige);
left: 5.5rem;
top: 0rem;
}
.label1{
top: 2.5rem;
left: 4.5rem;
}
.label2{
top: 5.7rem;
left: 5.5rem
}
.label3{
top: 1.7rem;
left: 1rem;
}
.label4{
top: 2rem;
left: 9rem;
}