Skip to content

Instantly share code, notes, and snippets.

@weotch
Created April 18, 2016 01:51
Show Gist options
  • Save weotch/827db3fa47b05d02630bcefa7f974930 to your computer and use it in GitHub Desktop.
Save weotch/827db3fa47b05d02630bcefa7f974930 to your computer and use it in GitHub Desktop.
Stylus example
.nav {
background: #ff0000;
}
.nav a {
color: #fff;
-webkit-transition: color 300ms;
-moz-transition: color 300ms;
-ms-transition: color 300ms;
transition: color 300ms;
}
.nav a:hover {
color: #ddd;
}
.nav
background red
a
color white
transition color 300ms
&:hover
color lighten(white, 10%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment