Template:CSS/team
From 2014.igem.org
(Difference between revisions)
Line 521: | Line 521: | ||
.pic1{ | .pic1{ | ||
- | width: | + | width:100px; |
- | height: | + | height:100px; |
position:absolute; | position:absolute; | ||
top:52px; | top:52px; | ||
Line 531: | Line 531: | ||
top:52px; | top:52px; | ||
left:230px; | left:230px; | ||
- | width: | + | width:100px; |
- | height: | + | height:100px; |
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .pic1:hover+.pic2{ | ||
+ | -webkit-transition:all 0.3s linear 0s; | ||
+ | transform: translate(100px,0); | ||
+ | -webkit-transform: translate(100px,0); /** Safari & Chrome **/ | ||
+ | -o-transform: translate(100px,0); /** Opera **/ | ||
+ | -moz-transform: translate(100px,0); /** Firefox **/ | ||
} | } | ||
Line 561: | Line 571: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 19:28, 15 October 2014