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: -100px; |
- | padding: | + | padding: 10px 32px 10px 10px; |
margin: 8px; | margin: 8px; | ||
x-box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.5); | x-box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.5); | ||
box-shadow: 8px 0 8px -8px rgba(0, 0, 0, 0.5); | box-shadow: 8px 0 8px -8px rgba(0, 0, 0, 0.5); | ||
background: #fff; | background: #fff; | ||
- | transition: all 0.3s ease-in-out 0. | + | transition: all 0.3s ease-in-out 0.5s; |
} | } | ||
.card:hover { | .card:hover { | ||
position: relative; | position: relative; | ||
- | left: | + | left: 0px; |
box-shadow: | box-shadow: | ||
0 -8px 8px -8px rgba(0, 0, 0, 0.5), | 0 -8px 8px -8px rgba(0, 0, 0, 0.5), | ||
0 8px 8px -8px rgba(0, 0, 0, 0.5); | 0 8px 8px -8px rgba(0, 0, 0, 0.5); | ||
- | transition: all 0. | + | transition: all 0.5s ease-in-out; |
} | } | ||
Revision as of 20:31, 17 October 2014