Image map on home page responsive center - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Responsive Layout

Description

Image map on home page responsive center

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">
.background {
   background-color:Chartreuse;
   width:100%;
   height:100vh;
   padding:26%;
}

.map {<!--from   ww  w. j  a v a  2s . com-->
   background-color:yellow;
   height:100%;
   width:100%;
   display:block;
}
</style> 
 </head> 
 <body> 
  <div class="background"> 
   <div class="map"> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials