Skip to content

Commit 7a99b28

Browse files
committed
updated code
1 parent 022aaa3 commit 7a99b28

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

18-12-2023/index.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div class="f">
2+
<div class="l"></div>
3+
<div class="l"></div>
4+
<div class="l"></div>
5+
</div>
6+
<style>
7+
body {
8+
margin: 0;
9+
background: hsl(278, 48%, 19%);
10+
}
11+
.f {
12+
display: flex;
13+
margin-left: 15;
14+
}
15+
.l {
16+
width: 100;
17+
height: 30;
18+
background: #B0ACD5;
19+
position: relative;
20+
}
21+
.l:after {
22+
content: '';
23+
position: absolute;
24+
right: 0;
25+
width: 30;
26+
height: 180;
27+
background: #B0ACD5;
28+
}
29+
.l:first-of-type {
30+
margin-top: -30;
31+
}
32+
.l:nth-of-type(2) {
33+
margin-top: 60;
34+
}
35+
.l:last-of-type {
36+
margin-top: 150;
37+
}
38+
</style>

18-12-2023/target.png

3.28 KB
Loading

0 commit comments

Comments
 (0)