-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcurvedarrow.html
47 lines (42 loc) · 936 Bytes
/
curvedarrow.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
#container {
margin: 0 auto;
padding: 30px 10px;
text-align: center;
}
#curved {
position: relative;
width: 0;
height: 0;
border-top: 60px solid transparent;
border-right: 60px solid black;
transform: rotate(10deg);
margin-left: 97px;
}
#curved:after {
content: "";
position: absolute;
border: 0 solid transparent;
border-top: 40px solid black;
border-radius: 130px 0 0 0;
top: -100px;
left: -87px;
width: 100px;
height: 100px;
transform: rotate(45deg);
}
</style>
</head>
<body>
<div id="container">
<div id="curved"></div>
</div>
</body>
</html>