HTML CSS examples for CSS Widget:Border
Add border to 2 sides of CSS triangle
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .arrow-right { width:0; height:0; border-top:61px solid Chartreuse; border-bottom:61px solid yellow; border-left:61px solid blue; } .arrow-right>div { width:0; position:relative; top:-60px; left:-61px; border-top:60px solid pink; border-bottom:60px solid WhiteSmoke; border-left:60px solid OrangeRed; } </style> <!-- ww w .j av a2s.c om--> </head> <body> <div class="arrow-right"> <div></div> </div> </body> </html>