Skip to content

Instantly share code, notes, and snippets.

@simevidas simevidas/transition-flex
Last active Aug 29, 2015

Embed
What would you like to do?
// Hey! Listen!
// The above slide animation is transition:flex.
// No hard-coded px/% width values!
@media (min-width: 800px)
.services
display flex
.services__item
flex 1
transition flex .25s ease-in-out .1s
&:hover
flex-grow 3
// But what do I do with :hover on tablets?
// https://twitter.com/simevidas/status/465462926640705537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.