HTML CSS examples for CSS Layout:Responsive Layout
Css responsive circle with image inside
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .player-holder {<!--from w ww.ja v a2 s .co m--> height:351px; max-width:651px; background:blue; } .player-thumb { height:100%; border-radius:100%; overflow:hidden; background:url('https://www.java2s.com/style/demo/Google-Chrome.png'); background-repeat:no-repeat; background-size:100% 100%; } </style> </head> <body> <div class="player-holder"> <div class="player-thumb"></div> </div> </body> </html>