•  
     

div border-radius - HTML & CSS

index.html

Código: Selecionar todos

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>div border-radius - HTML & CSS</title>
	</head>
	<body>
		<img src="http://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
		<p>Test div border-radius - HTML & CSS</p><br/><br/>
		<div>	
		</div>
	</body>
</html>


stylesheet.css

Código: Selecionar todos

img {
	display: block;
	height: 100px;
	width: 300px;
	margin: auto;
}

p {
	text-align: center;
	font-family: Garamond, serif;
	font-size: 18px;
}

div{height:50px;width:120px;border-color:#6495ED;background-color:#BCD2EE;border-radius:5px;}

Demo: http://jsfiddle.net/n7rN7/