Skip to content

Instantly share code, notes, and snippets.

@darrylhein
Last active August 29, 2015 14:10
Show Gist options
  • Save darrylhein/b01f89bdfd1d94b82d23 to your computer and use it in GitHub Desktop.
Save darrylhein/b01f89bdfd1d94b82d23 to your computer and use it in GitHub Desktop.
Sample SCSS
.class {
color: #fff;
&:hover { color: #f00; }
}
.class {
position: absolute;
display: block;
max-width: 100em;
width: 10em;
height: 15em;
margin: 0;
padding: 0;
color: #fff;
&:hover { color: #f00; }
&:active { color: #0f0; }
}
.class {
position: absolute;
display: block;
max-width: 100em;
width: 10em;
height: 15em;
margin: 0;
padding: 0;
color: #fff;
&:hover { color: #f00; }
}
.class {
position: absolute;
display: block;
max-width: 100em;
width: 10em;
height: 15em;
margin: 0;
padding: 0;
color: #fff;
&:hover {
color: #f00;
}
&:active {
color: #0f0;
}
}
.class {
position: absolute;
display: block;
max-width: 100em;
width: 10em;
height: 15em;
margin: 0;
padding: 0;
color: #fff;
text-decoration: none;
&:hover {
color: #f00;
border: 1px solid #f00;
background: #000;
text-decoration: underline;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment