Creating HTML page with curved header section - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Header

Description

Creating HTML page with curved header section

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

body {<!--  www  .  j av a  2  s  . c  o  m-->
   background: #1e66ed
}
div {
   -webkit-border-top-left-radius: 40% 80px;
   -webkit-border-top-right-radius: 40% 80px;
   -moz-border-radius-topleft: 40% 80px;
   -moz-border-radius-topright: 40% 80px;
   border-top-left-radius: 40% 80px;
   border-top-right-radius: 40% 80px;
   background: #fff;
   height: 280px
}


      </style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials