Skip to content

Instantly share code, notes, and snippets.

@c01nd01r
Forked from anonymous/index.html
Created July 2, 2016 21:20
Show Gist options
  • Save c01nd01r/a8712c97fa905cb7d7a6d20e043e4650 to your computer and use it in GitHub Desktop.
Save c01nd01r/a8712c97fa905cb7d7a6d20e043e4650 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/yurisunimi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
ol { counter-reset: wow }
li {
width:350px;
height:450px;
padding:-11px;
box-sizing:border-box;
border: 2px solid green;
border-radius:50%;
list-style: none;
position:relative;
display:inline-block;
}
li:after{
counter-increment: wow;
content:counter(wow);
width:20px;
height:20px;
background: blue;
color: #fff;
display:inline-block;
text-align:center;
position:absolute;
bottom:0;
left:50%;
margin: -10px -10px
}
img {max-width:100%}
</style>
</head>
<body>
<ol type="1" start="1">
<li><img src="http://vignette1.wikia.nocookie.net/wowwiki/images/f/fe/Achievement_level_80.png"></li>
<li>Король Зигфрид XVI</li>
<li>Король Сигизмунд XXI</li>
<li>Король Хусбрандт I</li>
</ol>
<div class="test"></div>
<script id="jsbin-source-css" type="text/css">ol { counter-reset: wow }
li {
width:350px;
height:450px;
padding:-11px;
box-sizing:border-box;
border: 2px solid green;
border-radius:50%;
list-style: none;
position:relative;
display:inline-block;
}
li:after{
counter-increment: wow;
content:counter(wow);
width:20px;
height:20px;
background: blue;
color: #fff;
display:inline-block;
text-align:center;
position:absolute;
bottom:0;
left:50%;
margin: -10px -10px
}
img {max-width:100%}</script>
</body>
</html>
ol { counter-reset: wow }
li {
width:350px;
height:450px;
padding:-11px;
box-sizing:border-box;
border: 2px solid green;
border-radius:50%;
list-style: none;
position:relative;
display:inline-block;
}
li:after{
counter-increment: wow;
content:counter(wow);
width:20px;
height:20px;
background: blue;
color: #fff;
display:inline-block;
text-align:center;
position:absolute;
bottom:0;
left:50%;
margin: -10px -10px
}
img {max-width:100%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment