Template:Team:BNU-China/CSS/main
From 2014.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
.card { | .card { | ||
position: relative; | position: relative; | ||
- | left: - | + | left: -210px; |
padding: 10px 32px 10px 10px; | padding: 10px 32px 10px 10px; | ||
margin: 8px; | margin: 8px; | ||
Line 29: | Line 29: | ||
.card:hover { | .card:hover { | ||
position: relative; | position: relative; | ||
- | left: | + | left: -20px; |
box-shadow: | box-shadow: | ||
0 -8px 8px -8px rgba(0, 0, 0, 0.5), | 0 -8px 8px -8px rgba(0, 0, 0, 0.5), |
Revision as of 20:34, 17 October 2014