Skip to content

Commit 33bc9ee

Browse files
committed
daily css target
1 parent 09f7d52 commit 33bc9ee

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

10-11-2023/index.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<div class="p">
2+
<div class="c t l"></div>
3+
<div class="c t r"></div>
4+
<div class="c b l"></div>
5+
<div class="c b r"></div>
6+
</div>
7+
<style>
8+
body {
9+
margin: 0;
10+
background: #FBC3E4;
11+
box-sizing: border-box;
12+
}
13+
.p {
14+
display: grid;
15+
grid-template-columns: 1fr 1fr;
16+
position: relative;
17+
height: 100%;
18+
}
19+
.p:before {
20+
content: '';
21+
position: absolute;
22+
width: calc(100% - 12.5rem);
23+
height: calc(100% - 6.25rem);
24+
background: transparent;
25+
border-style: solid;
26+
border-color: #FBC3E4;
27+
border-width: 3.15rem 6.25rem;
28+
}
29+
.c {
30+
width: 10rem;
31+
height: 10rem;
32+
background: transparent;
33+
border: 2.5rem solid #8C0052;
34+
border-radius: 50%;
35+
}
36+
.t {
37+
margin-top: -4.4rem;
38+
}
39+
.l {
40+
margin-left: -1.25rem;
41+
}
42+
.r {
43+
margin-left: -2.5rem;
44+
}
45+
.b {
46+
margin-top: -2.5rem;
47+
}
48+
</style>

10-11-2023/target.png

9.04 KB
Loading

0 commit comments

Comments
 (0)