.
Код:
<!--HTML--><center><div class="kai1"><div class="kai2"><div class="kai3"><table><tr><td><div class="kai-n"> John Stark </div><div class="kai-stuff"> ❖ 25 <br> ❖ Гид, художник<br> ❖ Влюблен в <a href="ссылка на персонажа">Имя</a> </div> <div class="kaiout"></div></td><td><div class="kai-g"><div style="width: 217px; height: 138px;background-size: cover; background-image: url(http://funkyimg.com/i/2egRN.png);"> </div></div></td></tr></table></div> <div class="kai-thing"> <div class="kaitabs"><div class="kaitab"><input type="radio" id="kaitab-1" name="kaitab-group-1" checked><label for="kaitab-1">about</label><div class="kaicontent"> <div style="width: 450px; height: 200px; background-image: url(https://67.media.tumblr.com/148085f3df8cd8f1bca2ea73ec329efa/tumblr_npzn5mQlrs1uq7mmio1_500.gif); background-size: cover;"></div> </div></div><div class="kaitab"><input type="radio" id="kaitab-2" name="kaitab-group-1"><label for="kaitab-2">collection</label><div class="kaicontent"><div class="s-stu"><div class="s-scr"> <div class="coll"><div class="coll-text"><img src="http://funkyimg.com/i/2ejqK.png"> <img src="http://funkyimg.com/i/2ejqK.png"> <img src="http://funkyimg.com/i/2ejqK.png"> <img src="http://funkyimg.com/i/2ejqK.png"> <img src="http://funkyimg.com/i/2ejqK.png"> </div></div> <div class="coll"><div class="coll-text"><img src="http://funkyimg.com/i/2d8Xx.png"> <img src="http://funkyimg.com/i/2d8Xx.png"> <img src="http://funkyimg.com/i/2d8Xx.png"> <img src="http://funkyimg.com/i/2d8Xx.png"> <img src="http://funkyimg.com/i/2d8Xx.png"> </div></div> <div class="coll"><div class="coll-text"><img src="http://funkyimg.com/i/2d8Xn.png"> <img src="http://funkyimg.com/i/2d8Xn.png"> <img src="http://funkyimg.com/i/2d8Xn.png"> <img src="http://funkyimg.com/i/2d8Xn.png"> <img src="http://funkyimg.com/i/2d8Xn.png"> </div></div> </div></div></div></div><div class="kaitab"><input type="radio" id="kaitab-3" name="kaitab-group-1"><label for="kaitab-3">other</label><div class="kaicontent"><div class="wa-nt"> <div class="f-titl">полоски</div><div class="want-s"> тут будут полоски </div><div class="f-titl">подарки</div><div class="want-s"> тут будут подарки </div><div class="f-titl">карточки</div><div class="want-s"> тут будут карточки </div></div></div></div></div> </div></div></div> </center> <style> .kai1 { width: 570px; height:500px;padding: 5px; background: #fff; border: 1px solid #f4f4f4; } .kai2 { width: 520px; height:470px;padding: 25px; background: #fafafa; background-image: url(http://i.imgur.com/DUPdFXO.png); padding-bottom: 0px; border: 1px solid #f4f4f4; } .kai3 { width: 450px; padding: 25px; background: #fafafa; border: 1px solid #f4f4f4; border-bottom: 2px solid #f4f4f4; margin-bottom: 5px; } .kai-n { width: 300px; height: 33px; font-family: cuprum; font-weight:700;text-transform: uppercase; font-size: 25px; letter-spacing: -1px; line-height: 100%; text-align: left; margin-right: -10px; } .kai-stuff { width: 187px; margin-left: 10px; height: auto; text-transform: uppercase; line-height: 100%; font-family: roboto; text-align: left; font-weight: normal; font-size: 11px; margin-right: 5px; } .kai-g { width: 300px; height: 138px; padding: 0px; border: 1px solid #f4f4f4; background: #fff; text-align: right;} .kai-thing { width: 450px; height: 200px; padding: 25px; background: #fafafa; border: 1px solid #f4f4f4; border-bottom: 0px; } .kaitabs { position: relative; width: 500px; height: 200px; } .kaitab { float: left; text-align: left; } .kaitab label { background: transparent; margin-top: 0px; width: 100px; height: 15px; color: #555; padding: 5px; font-family: benchnine; font-weight: 700; font-style: italic; text-align: center; word-spacing: 3px; line-height: 100%; text-transform: uppercase; font-size: 15px; position: relative; top: -88px; } .kaitab [type=radio] { display: none; } .kaicontent { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; background: #fff; width: 450px; height: 200px; border: 1px solid #f4f4f4; -webkit-transform: scale(0); -o-transform: scale(0); -moz-transform: scale(0); -webkit-transition-duration: .8s; -moz-transition-duration: .8s; -o-transition-duration: .8s; } [type=radio]:checked ~ label { background: transparent; z-index: 2; color: #A1AADB; } [type=radio]:checked ~ label ~ .kaicontent { z-index: 1; -webkit-transform: scale(1); -o-transform: scale(1); -moz-transform: scale(1); } .want-s { width: 430px; height: 70px; overflow: auto; font-family: verdana; font-size: 10px; letter-spacing: 1px; line-height: 115%; color: #555; text-align: justify; text-transform: lowercase; margin-bottom: 5px; padding:5px;} .want-s::-webkit-scrollbar { height: 4px; width: 5px; -webkit-border-radius: 0px; background:#fff; border:1px solid #fff; } .want-s::-webkit-scrollbar-thumb{background:#fff; border:1px solid #f4f4f4;} .want-s::-webkit-scrollbar-track{background: #f9f9f9; border: 1px solid #f4f4f4;} .kaiout { width: 400px; height: 50px; margin-top: 11px; border-top: 1px solid #f4f4f4; padding-top: 10px; } .f-titl { width: 300px; font-family: cuprum; font-weight: 700; font-style: italic; text-align: right; word-spacing: 3px; line-height: 100%; background: #fff; padding: 10px; text-transform: uppercase; font-size: 15px; border-bottom: 1px solid #f4f4f4; padding-bottom: 3px; padding-top: 10px; margin-bottom: 10px; } .wa-nt { width: 470px; padding-right: 5px; height: 188px; overflow: auto; } .wa-nt::-webkit-scrollbar { height: 4px; width: 5px; -webkit-border-radius: 0px; background:#fff; border:1px solid #fff; } .wa-nt::-webkit-scrollbar-thumb{background:#fff; border:1px solid #f4f4f4;} .wa-nt::-webkit-scrollbar-track{background: #f9f9f9; border: 1px solid #f4f4f4;} .s-stu { width: 470px; height: 148px; padding: 0px; font-family: verdana; font-size: 11px; letter-spacing: 1px; color: #555; text-align: justify; line-height: 115%; } .s-scr { width: 470px; padding-right: 0px; height: 170px; overflow: auto; } .s-stu b { font-size: 12px; color: #A1AADB; font-weight: normal; letter-spacing: 0px; } .s-scr::-webkit-scrollbar { height: 4px; width: 5px; -webkit-border-radius: 0px; background:#fff; border:1px solid #fff; } .s-scr::-webkit-scrollbar-thumb{background:#fff; border:1px solid #f4f4f4;} .s-scr::-webkit-scrollbar-track{background: #f9f9f9; border: 1px solid #f4f4f4;} .coll {background-image: url(http://funkyimg.com/i/2d8X3.png);width:450px;height:90px;} .coll-text {margin-left:36px;top:10px;padding:10px;} .coll-all{margin-left:18px;padding:4px;} </style> <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'><link href='http://fonts.googleapis.com/css?family=BenchNine:400,700' rel='stylesheet' type='text/css'>