HTML CSS examples for CSS Widget:Shape
Create triangle with border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #triangle {<!--from ww w .j a v a2s . c o m--> width:0; height:0; border-top:100px solid Chartreuse; border-left:100px solid yellow; opacity:0.2; } </style> </head> <body> <div id="triangle"></div> </body> </html>