Browse Source

Added transitions to team images on hover

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
8e22002c35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      css/style.css

9
css/style.css

@ -524,13 +524,14 @@ body {
margin-bottom: 30px; } margin-bottom: 30px; }
.member img.colored { .member img.colored {
display: none; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
transform: scale(1.08); } transition: transform 1s ease-in-out; }
.member:hover img.colored { .member img.colored:hover {
display: block; } transform: scale(1.1);
display: block; }
.member h4 { .member h4 {
margin-bottom: 4px; } margin-bottom: 4px; }

Loading…
Cancel
Save