File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
Expand file tree Collapse file tree 2 files changed +59
-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 ="d t r "> </ div >
4+ < div class ="d b l "> </ div >
5+ < div class ="d b r "> </ div >
6+ </ div >
7+ < style >
8+ body {
9+ margin : 0 ;
10+ }
11+ .p {
12+ position : relative;
13+ height : 100vh ;
14+ }
15+ .p > div {
16+ position : absolute;
17+ }
18+ .c {
19+ width : 12.5rem ;
20+ height : 12.5rem ;
21+ background : # FCDFEB ;
22+ }
23+ .d {
24+ height : 5rem ;
25+ position : relative;
26+ }
27+ .d : after {
28+ content : '' ;
29+ height : 2.5rem ;
30+ position : absolute;
31+ top : 2.5rem ;
32+ left : -2.5rem ;
33+ }
34+ body , .d , .d : after {
35+ background : # 73385A ;
36+ }
37+ .d , .d : after {
38+ width : 2.5rem ;
39+ }
40+ .t {
41+ top : 3.1rem ;
42+ }
43+ .l {
44+ left : 6.25rem ;
45+ }
46+ .r {
47+ right : 6.25rem ;
48+ }
49+ .b {
50+ bottom : 3.15rem ;
51+ }
52+ .b .l {
53+ left : 8.75rem ;
54+ }
55+ .b .r {
56+ transform : rotate (180deg );
57+ right : 8.75rem ;
58+ }
59+ </ style >
You can’t perform that action at this time.
0 commit comments