css triangle
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
}
.arrow-down {
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid #f00;
}
.arrow-right {
width: 0;
height: 0;
border-top: 60px solid transparent;
border-bottom: 60px solid transparent;
border-left: 60px solid green;
}
.arrow-left {
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right:10px solid blue;
}/* Answer to: css triangle generator */
/*
Here's a couple links you can use a nice triangle generator:
http://apps.eky.hk/css-triangle-generator/
http://triangle.designyourcode.io/
Or... you can make your own triangle in CSS! Just follow this guide:
https://css-tricks.com/snippets/css/css-triangle/
*/
Also in CSS:
- pseudo elements css
- css animation delay
- effetto fade con css
- css calc height
- scss npm import
- how to rotate image in css
- css border
- css box shadow not on bottom
- Background Video.module.css'
- how to make a popup in html and css
- grayscale filter css
- ref css in jsp
- css psedo class
- css align backround image to the right
- basic css designn elements
- css remove number input arrows
- css how to center images in a table cell
- css focus border radius
- watch scss to css
- css distance between text and input box
- list style css
- scss media query
- get data from firestore and save it to state
- linear gradient css