Skip to content

Instantly share code, notes, and snippets.

@hashplus
Created April 19, 2015 15:11
Show Gist options
  • Select an option

  • Save hashplus/cee3352e8e6719ebc301 to your computer and use it in GitHub Desktop.

Select an option

Save hashplus/cee3352e8e6719ebc301 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/qutuco
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
em {
width: 100px;
height: 100px;
background-color: #fff;
border-radius: 50px;
float: left;
}
span {
text-align: center;
line-height: 100px;
position: absolute;
width: 100px;
height: 100px;
background-color: red;
border-radius: 50px;
top: 100px;
}
</style>
</head>
<body>
<em>sdfdsfds</em>
<span>sdfsdfds</span>
<script id="jsbin-source-css" type="text/css">em{
width:100px;
height:100px;
background-color: #fff;
border-radius:50px;
float:left;
}
span{
text-align:center;
line-height:100px;
position:absolute;
width:100px;
height:100px;
background-color: red;
border-radius:50px;
top:100px;
}</script>
</body>
</html>
em {
width: 100px;
height: 100px;
background-color: #fff;
border-radius: 50px;
float: left;
}
span {
text-align: center;
line-height: 100px;
position: absolute;
width: 100px;
height: 100px;
background-color: red;
border-radius: 50px;
top: 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment