<style> .imgteaser { position: relative; display: table; margin: 0 auto; border: 1px solid #456; line-height: 0; color: rgb(223,223,223); cursor: pointer; }
.imgteaser:after { content: "подробнее \bb"; position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; background: rgba(17,34,51,.6); line-height: 1.6em; } .imgteaser:hover:after {content: none;}
.imgteaser figcaption {display: none;} .imgteaser:hover figcaption { display: block; position: absolute; bottom: 10px; left: 10px; right: 10px; padding: 5px 10px; background: rgba(68,85,102,.7); font-size: 80%; line-height: 1.3em; }
.imgteaser:hover figcaption strong { display: block; line-height: 2em; font-size: 110%; } </style>
<figure class="imgteaser"> <img src="http://pridela-net.ucoz.com/Smail/chat.jpg" border="0" alt="" /> <figcaption><strong>Живое общение</strong><a href="http://pridela-net.ucoz.com/index/hat/0-13"><b>Перейти в чат</figcaption> </figure>
|