Vittoria Cocito
Autoritratti
Con la famiglia
<CSS> .hphoto {
border: 1px solid white; position:relative; }
.hphoto img:hover { border: 1px solid blue; } .hphoto span{ display:none; position:absolute; padding: 5px; border: 1px solid gray; left:100px; top:0px; z-index:2; } .hphoto:hover span{ display:block; } </CSS>
Mostra di Villa Vallero
<css> .gallerycontainer{ position: relative; max-height: 200px; /*Add a height attribute and set to largest image's height to prevent overlaying*/ }
.hgphoto img{ border: 1px solid white; margin: 0 5px 5px 0; }
.hgphoto:hover{ background-color: transparent; }
.hgphoto:hover img{ border: 1px solid blue; }
.hgphoto span{ /*CSS for enlarged image*/ position: absolute; background-color: lightyellow; padding: 5px; left: -1000px; border: 1px dashed gray; visibility: hidden; color: black; text-decoration: none; }
.hgphoto span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; }
.hgphoto:hover span{ /*CSS for enlarged image*/ visibility: visible; top: 0; left: 230px; /*position where enlarged image should offset horizontally */ z-index: 50; } </css>
--Sybil (discussioni) 15:40, 14 lug 2013 (CDT)
