Template:CSS/parts
From 2014.igem.org
(Difference between revisions)
Line 123: | Line 123: | ||
padding:10px; | padding:10px; | ||
} | } | ||
+ | |||
+ | |||
+ | .normalpic{ | ||
+ | width:720px; | ||
+ | height:320px; | ||
+ | z-index:52; | ||
+ | } | ||
+ | |||
+ | .biggerpic{ | ||
+ | position: absolute; | ||
+ | left:100px; | ||
+ | top:-120px; | ||
+ | width:0px; | ||
+ | |||
+ | -webkit-transition:width 0.3s linear 0s; | ||
+ | z-index:52; | ||
+ | } | ||
+ | |||
+ | .normalpic:hover + .biggerpic{ | ||
+ | width:422px; | ||
+ | |||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 03:02, 18 October 2014