Skip to content

Commit ef22ed9

Browse files
committed
daily css target
1 parent f48c52f commit ef22ed9

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

13-11-2023/index.html

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<div class="t a"></div>
2+
<div class="f v">
3+
<div class="c"></div>
4+
<div class="f">
5+
<div class="c"></div>
6+
<div class="s c"></div>
7+
<div class="c"></div>
8+
</div>
9+
</div>
10+
<style>
11+
body {
12+
margin: 0;
13+
background: #F58220;
14+
height: 100vh;
15+
}
16+
.t {
17+
width: 0;
18+
height: 0;
19+
border-bottom: 10rem solid #FFF;
20+
border-right: 7.85rem solid transparent;
21+
border-left: 7.85rem solid transparent;
22+
}
23+
.a {
24+
position: absolute;
25+
top: 4.35rem;
26+
left: 50%;
27+
transform: translate(-50%, 0);
28+
z-index: -1;
29+
}
30+
.c {
31+
width: 1.25rem;
32+
height: 1.25rem;
33+
background: #F58220;
34+
border-radius: 50%;
35+
}
36+
.s.c {
37+
width: 50px;
38+
height: 50px;
39+
}
40+
.f {
41+
display: flex;
42+
justify-content: center;
43+
align-items: center;
44+
gap: 20px;
45+
}
46+
.f.v {
47+
flex-direction: column;
48+
height: 100%;
49+
margin-top: 15px;
50+
}
51+
</style>

13-11-2023/target.png

10.2 KB
Loading

0 commit comments

Comments
 (0)