how to make a triangle in css
.triangle{
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid red;
border-width:100px;
}
how to make a triangle in css
.triangle{
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid red;
border-width: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;
}
how to make a triangle in css
.triangle{
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid red;
border-width: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;
}
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