HTML CSS examples for CSS Widget:Shape
Diagonal Wedge Shaped CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .shape {<!-- w w w. j av a2s . c o m--> width:401px; margin:0 auto; } .top { height:0; border-width:0 0 151px 401px; border-style:solid; border-color:Chartreuse; } .bottom { height:51px; background-color:yellow; } * html .top { filter:chroma(color=blue); border-top-color:pink; border-left-color:OrangeRed; } </style> </head> <body> <div class="shape"> <div class="top"></div> <div class="bottom"></div> </div> </body> </html>