make triangle using div
// css clip
<div id="triangle"></div>
#triangle {
background-color: #003BDE;
clip-path: polygon(50% 0, 100% 100%, 0 100%);
width: 100px;
height: 100px;
}
make triangle using div
// css clip
<div id="triangle"></div>
#triangle {
background-color: #003BDE;
clip-path: polygon(50% 0, 100% 100%, 0 100%);
width: 100px;
height: 100px;
}
triangle css
#triangle {
width: 0;
height: 0;
border-left: 18px solid transparent;
border-right: 18px solid transparent;
border-bottom: 30px solid blue;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us