7.Identify your IDs help please


#1


StyleSheet-----------------------

.friend{
    border:2px dashed #008000;
}

.family{
    border:2px dashed #0000FF;
}

.enemy{
    border:2px dashed #FF0000;

div {
	display: inline-block;
	margin-left: 5px;
	height:100px;
	width:100px;
	border-radius:100%; 
	border:2px solid black;
}

#best_friend{
    border:4px solid #00C957;
}

#archnemesis{
    border:4px solid #CC0000;
}

Html------------------------------------------


<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>My Social Network</title>
	</head>
	<body>
		<div class="enemy" id="archnemesis">hi</div>
		<div class="family">hey</div>
		<div class="friend" id="best_friend">hello</div>
		
	</body>
</html>


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.