Bootstrap snippet: CSS Arrow

designed to help people of all skill levels - designer or developer, huge nerd or early beginner.
copy and paste the code. Use it as a complete kit or use it to start something more complex.



<div class="container"> <div class="row"> <h2>Pure CSS Arrow</h2> </div> <div class="arrowup"></div><br> <div class="arrowdown"></div><br> <div class="arrowleft"></div><br> <div class="arrowright"></div> </div>
.arrowup { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 60px solid #337ab7; } .arrowdown { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-top: 60px solid #5bc0de; } .arrowright { width: 0; height: 0; border-top: 60px solid transparent; border-bottom: 60px solid transparent; border-left: 60px solid #5cb85c; } .arrowleft { width: 0; height: 0; border-top: 60px solid transparent; border-bottom: 60px solid transparent; border-right:60px solid #f0ad4e; }
rajneshprajapati

CSS Arrow

rajneshprajapati
  Sep 4th, 20:49
986 Views