D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
c01nd01r
Full window
Github gist
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="https://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>