File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments