Created
July 2, 2016 21:19
-
-
Save anonymous/4fea953c2c96bc68a3803337ece43b66 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/yurisunimi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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