/
letterQ-T.html
148 lines (148 loc) · 3.38 KB
/
letterQ-T.html
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Letter Q-T</title>
<style>
body {
margin: 0;
padding: 0;
background: #bdc3c7;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
ul {
display: flex;
position: relative;
}
ul li {
list-style: none;
position: relative;
margin: 10px;
box-sizing: border-box;
width: 40px;
height: 40px;
border: 1px solid #000;
}
/* Q start */
ul li:nth-child(1) span {
position: absolute;
width: 8px;
height: 11px;
color: #000;
border: 1px solid currentColor;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
ul li:nth-child(1) span::before {
content: '';
position: absolute;
width: 3px;
height: 1px;
border: 1px solid currentColor;
border-top: none;
border-radius: 0px 0px 3px 3px;
transform: translate(3px, 12px) rotate(10deg);
transform-origin: right bottom;
}
/* Q end */
/* R start */
ul li:nth-child(2) span {
position: absolute;
height: 11px;
width: 1px;
color: #000;
background: currentColor;
top: 50%;
left: calc(50% - 3px);
transform: translate(-50%, -50%);
}
ul li:nth-child(2) span::before {
content: '';
position: absolute;
height: 4px;
width: 6px;
border: 1px solid currentColor;
border-left: none;
border-radius: 0px 3px 3px 0px;
}
ul li:nth-child(2) span::after {
content: '';
position: absolute;
height: 6px;
width: 1px;
background: currentColor;
transform: translate(4px, 5px) skewX(40deg);
transform-origin: left center;
}
/* R end */
/* S start */
ul li:nth-child(3) span {
position: absolute;
color: #000;
top: calc(50% - 6px);
left: calc(50% - 2px);
transform: translate(-50%, -50%) rotate(29deg);
}
ul li:nth-child(3) span::before {
content: '';
position: absolute;
width: 5px;
height: 4px;
border: 1px solid currentColor;
border-right: none;
border-radius: 6px 0px 0px 3px;
}
ul li:nth-child(3) span::after {
content: '';
position: absolute;
width: 5px;
height: 4px;
border: 1px solid currentColor;
border-left: none;
border-radius: 0px 3px 6px 0px;
transform: translate(3px, 5px);
}
/* S end */
/* T start */
ul li:nth-child(4) span {
position: absolute;
width: 1px;
height: 11px;
color: #000;
background: currentColor;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
ul li:nth-child(4) span::before {
content: '';
position: absolute;
width: 7px;
height: 1px;
background: currentColor;
transform: translate(-3px, 0px);
transform-origin: center top;
}
/* T end */
</style>
</head>
<body>
<div class="container">
<ul>
<li><span></span></li>
<li><span></span></li>
<li><span></span></li>
<li><span></span></li>
</ul>
</div>
</body>
</html>