Вот CsS код:
Это код показывает тумб при наводки на ссылку, проблема в том что тумб открываеться неполномтью а только в границах блока. Помогите правильно настроить ксс
Код |
---|
/*Всплывающий скриншот*/ .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 50; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: #3d3d3d; padding: 5px; left: -1000px; border: 1px solid white; visibility: hidden; color: Yellow; text-decoration: none; border-radius: 4px 4px 4px 4px; -moz-border-radius: 4px 4px 4px 4px; -webkit-border-radius: 4px 4px 4px 4px; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; top: 0; left: 60px; /*position where enlarged image should offset horizontally */ } /*---------------------*/ |
Это код показывает тумб при наводки на ссылку, проблема в том что тумб открываеться неполномтью а только в границах блока. Помогите правильно настроить ксс
Изменено:
marcel - 4 Декабря 2012 02:53