Difference between revisions of "Team:Uppsala"
Line 61: | Line 61: | ||
} | } | ||
− | |||
− | |||
.buttons:hover .description { | .buttons:hover .description { | ||
Line 70: | Line 68: | ||
-webkit-transform: translateY(140px); | -webkit-transform: translateY(140px); | ||
transform: translateY(140px); | transform: translateY(140px); | ||
+ | } | ||
+ | |||
+ | /*Affects all effects on the buttons (opacity, resize). Makes a smooth 300ms transition.*/ | ||
+ | .button_grid img { | ||
+ | -webkit-transition: all 300ms; | ||
+ | -moz-transition: all 300ms; | ||
+ | transition: all 300ms; | ||
+ | } | ||
+ | |||
+ | /*Resize of the buttons on hover*/ | ||
+ | .button_grid td:hover img { | ||
+ | -webkit-transform: scale(1.2); | ||
+ | -moz-transform: scale(1.2); | ||
+ | transform: scale(1.2); | ||
} | } | ||
Line 99: | Line 111: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 15:30, 8 August 2015