Template:CSS/team
From 2014.igem.org
(Difference between revisions)
Line 103: | Line 103: | ||
border-radius:10px; | border-radius:10px; | ||
} | } | ||
+ | |||
+ | |||
+ | .pic{ | ||
+ | width:50px; | ||
+ | height:50px; | ||
+ | } | ||
+ | .picbig{ | ||
+ | position: absolute; | ||
+ | width:0px; | ||
+ | -webkit-transition:width 0.3s linear 0s; | ||
+ | transition:width 0.3s linear 0s; | ||
+ | z-index:10; | ||
+ | } | ||
+ | .pic:hover + .picbig{ | ||
+ | width:500px; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 18:35, 26 September 2014