create this shape with only divs and css - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

create this shape with only divs and css

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 {<!--from  www  .jav  a 2  s.c  o m-->
   background:black;
}

img {
   margin:21px 21px;
}

#css {
   width:119px;
   height:75px;
   margin:21px 21px;
   background:Chartreuse;
   border:7px solid yellow;
   border-radius:21% / 63%;
   border-top-left-radius:7px;
   border-bottom-left-radius:7px;
}
</style> 
 </head> 
 <body> 
  <div id="css"></div> 
  <img src="https://www.java2s.com/style/demo/InternetExplorer.png">  
 </body>
</html>

Related Tutorials