Skip to content

Commit

Permalink
Add glow class
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmrs committed Dec 7, 2016
1 parent 872378e commit bf83f28
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/_hovers.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Docs: http://tachyons.io/docs/themes/hovers/
- Dim
- Glow
- Hide Child
- Underline text
- Grow
Expand All @@ -30,6 +31,20 @@
opacity: .8; transition: opacity .15s ease-out;
}

/*
Animate opacity to 100% on hover by adding the glow class.
*/
.glow {
transition: opacity .15s ease-in;
}
.glow:hover,
.glow:focus {
opacity: 1;
transition: opacity .15s ease-in;
}

/*
Hide child & reveal on hover:
Expand Down Expand Up @@ -121,7 +136,7 @@
}

/* Combine with classes in skins and skins-pseudo for
* thousands of different transition possibilities. */
* many different transition possibilities. */

.bg-animate,
.bg-animate:hover,
Expand Down

0 comments on commit bf83f28

Please sign in to comment.