-
Notifications
You must be signed in to change notification settings - Fork 0
/
Target #20 - Video-Icon.html
51 lines (47 loc) · 1.26 KB
/
Target #20 - Video-Icon.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<div id='outerBox'></div>
<div id='innerBox'></div>
<div id='innerTri'></div>
<div id='outerTri'></div>
<style>
body{
margin: 0;
background-color: #512B2A;
}
div{
position: absolute
}
#outerBox {
width: 200px;
height: 120px;
border-radius: 20px;
margin: 90px 0px 0px 100px;
background: #EA6B62;
}
#innerBox{
width: 100px;
height: 60px;
border-radius: 10px;
margin: 120px 0px 0px 130px;
background: #512B2A;
}
#innerTri{
width:0px;
height:0px;
margin: 130px 0px 0px 215px;
border-top: 18px solid transparent;
border-bottom: 24px solid transparent;
border-right: 55px solid #512B2A;
}
#outerTri{
width: 0px;
hieght: 0px;
border-right: 50px solid transparent;
border-top: 50px solid #EA6B62;
margin: 200px 0px 0px 130px;
}
</style>
<!-- OBJECTIVE -->
<!-- Write HTML/CSS in this editor and replicate the given target image in the least code possible. What you write here, renders as it is -->
<!-- SCORING -->
<!-- The score is calculated based on the number of characters you use (this comment included :P) and how close you replicate the image. Read the FAQS (https://cssbattle.dev/faqs) for more info. -->
<!-- IMPORTANT: remove the comments before submitting -->