Bootstrap img-rounded style


  Translation results:

img

#n. In web page production, it means "picture"; the abbreviation of image means picture. ;[Medical][=inferior mesenteric ganglia]Inferior mesenteric ganglia

#rounded

英[ˈraʊndɪd] 美[ˈraʊndɪd]

adj.round Shape; plump; comprehensive; [language] round lips

past tense and past participle of vi.&vt.round

Bootstrap img-rounded stylesyntax

Function: Add rounded corners to the image (not supported by IE8).

Bootstrap img-rounded styleexample

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>php中文网(php.cn)</title> 
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
	
<div class="container">
	<h2>图片</h2>
	<p> .img-rounded 类为图片添加圆角 (IE8 不支持):</p>            
	<img src="http://img.php.cn/upload/article/000/005/6

56/5af270fd37755429.jpg" class="img-rounded" alt="Cinque Terre" width="304" height="236"> 
</div>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A