1
How do I do this triangle before the numbers tab? You can do this by manipulating the edges?
1
How do I do this triangle before the numbers tab? You can do this by manipulating the edges?
4
Yes, and you need a separate element just for the arrow. For example, using a <div>
:
div {
width: 12px;
border: 6px solid transparent;
border-right: 6px solid #f4bb00;
}
<div></div>
Read this answer for details on how edge manipulation works to produce triangles.
Browser other questions tagged html css
You are not signed in. Login or sign up in order to post.
+1 and this "separate element" could be a
:before
created in CSS (if you want to include the arrow in multiple buttons, without creating additional elements).– mgibsonbr
Yes, it can be a before:
– Fernando Cordeiro