CSS arrows

css arrows

HTML Part







CSS Part

.arrow-up { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 60px solid black; }

.arrow-down { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-top: 60px 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: 60px solid transparent; border-bottom: 60px solid transparent; border-right:60px solid blue; }

Notes

If you want to decrease or increase size of arrows simply increase their border size and see result. Ankit @ CSS Zilla

Comments

Popular posts from this blog

right side toggle by js, toggle from ride side by js, toggle js for website, form toggle from right side js, js for form toggle from right side

50 Beautiful Color Palettes for Your Next Web Project