HTML CSS examples for CSS Layout:Responsive Layout
Image map on home page responsive center
<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>