Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created December 11, 2016 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/9e860095d3a0ba74daf26148af9f0461 to your computer and use it in GitHub Desktop.
Save codecademydev/9e860095d3a0ba74daf26148af9f0461 to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>My Social Network</title>
</head>
<body>
<!--Add your HTML below!-->
<div class="friend" id="best_friend"><p>name</p></div>
<div class="family"></div>
<div class="enemy" id="archnemesis"></div>
</body>
</html>
/*Add your CSS below!*/
div {
position: relative;
display: inline-block;
margin-left: 5px;
margin-top: 5px;
text-align: center;
height: 100px;
width: 100px;
border-radius: 100%;
border: 2px solid black;
}
div p {
position: relative;
margin-top: 40px;
font-size: 12px;
}
.friend {
border: 2px dashed #008000;
}
.family {
border: 2px dashed #0000FF;
}
.enemy {
border: 2px dashed #FF0000;
}
#best_friend {
border: 4px solid #00C957;
}
#archnemesis {
border: 4px solid #CC0000;
}
* {
border: 2px solid black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment