mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 12:41:23 +01:00
Include the color in transition for names
gives a softer effect when hovering.
This commit is contained in:
parent
da76f7d085
commit
e9c8811c0a
1 changed files with 2 additions and 2 deletions
|
@ -1515,8 +1515,8 @@ nav ul > li > a.current, nav ul > li > a:hover {
|
|||
-webkit-box-orient: vertical;
|
||||
}
|
||||
.team-item figure h2 {
|
||||
-webkit-transition: -webkit-transform .35s;
|
||||
transition: transform .35s;
|
||||
-webkit-transition: -webkit-transform .35s, color .35s;
|
||||
transition: transform .35s, color .35s;
|
||||
-webkit-transform: translate3d(0, -250%, 0);
|
||||
transform: translate3d(0, -250%, 0);
|
||||
color: #fff;
|
||||
|
|
Loading…
Reference in a new issue