We would like to know how to cSS Arrow Up.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.arrow {<!--from w w w . j a v a2 s . c om-->
width: 0px;
height: 0px;
left: 100px;
top: 100px;
position: relative;
}
.arrow:after, .arrow:before {
bottom: 0%;
left: 0%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
}
.arrow:after {
border-bottom-color: #eaeaea;
border-width: 50px;
margin-left: -50px;
}
.arrow:before {
border-bottom-color: #20204d;
border-width: 53px;
margin-left: -53px;
}
</style>
</head>
<body>
<div class="arrow"></div>
</body>
</html>
The code above is rendered as follows: