3
The code is this:
div {
width: 0;
height: 0;
border-style: solid;
border-width: 0 40px 30px 40px;
border-color: transparent transparent #007bff transparent;
}
<div/>
I want to create an edge on it.
3
The code is this:
div {
width: 0;
height: 0;
border-style: solid;
border-width: 0 40px 30px 40px;
border-color: transparent transparent #007bff transparent;
}
<div/>
I want to create an edge on it.
4
You can make a triangle within another:
.triangle {
position: relative;
width: 0;
height: 0;
border-style: solid;
border-width: 0 44px 34px 44px;
border-color: transparent transparent #007bff transparent;
}
.inner-triangle {
position: absolute;
top: 6px;
left: -38px;
width: 0;
height: 0;
border-style: solid;
border-width: 0 38px 28px 38px;
border-color: transparent transparent #f09 transparent;
}
<div class="triangle">
<div class="inner-triangle"></div>
</div>
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.
I want to put a border on the left and right but on the bottom not, look like this image http://imgur.com/a/HyPw9
– Otavio Fagundes
@Otaviofagundes, look at my edition. That’s how I wanted it?
– Samir Braga
exactly that, now yes, vlw
– Otavio Fagundes