Template:CSS/team
From 2014.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
width: 600px; | width: 600px; | ||
cursor:pointer; | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | .pic{ | ||
+ | width:100px; | ||
+ | height:100px; | ||
+ | border-radius:100px; | ||
+ | } | ||
+ | |||
+ | .picbig{ | ||
+ | position: absolute; | ||
+ | left:100px; | ||
+ | top:0px; | ||
+ | width:0px; | ||
+ | border-radius:200px; | ||
+ | -webkit-transition:width 0.3s linear 0s; | ||
+ | transition:width 0.3s linear 0s; | ||
+ | z-index:12; | ||
+ | } | ||
+ | |||
+ | .pic:hover + .picbig{ | ||
+ | width:300px; | ||
+ | border-radius:200px; | ||
} | } | ||
Line 29: | Line 51: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.coverpic{ | .coverpic{ | ||
position:absolute; | position:absolute; | ||
Line 66: | Line 75: | ||
.textblock img { | .textblock img { | ||
- | + | margin-left: 0px; | |
z-index:11; | z-index:11; | ||
position:absolute; | position:absolute; | ||
Line 84: | Line 93: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.testing{ | .testing{ | ||
Line 106: | Line 104: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 18:12, 2 October 2014