HTML CSS examples for CSS Layout:Responsive Layout
Responsive Image circle for rectangle img tag
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <style id="compiled-css" type="text/css"> .pic>img { position:relative; max-width:301px; border-radius:201px; } </style> <!-- w w w .j a v a 2 s .co m--> </head> <body> <div class="pic"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> </div> </body> </html>