Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
a precess production
nav{
border: 1px solid #ddd;
ul{
margin: 0;
li{
list-style: none;
a{
color: red;
}//a
}//li
}//ul
}//nav
//try not to nest more than 3 levels deep
//Ampersand Selector
a{
text-decoration: none;
}
//classic way, boooooo
a:hover{
text-decoration: underline;
}
a.new{
text-decoration: none;
&:hover{
text-decoration:underline;
}
}
nav {
border: 1px solid #ddd;
}
nav ul {
margin: 0;
}
nav ul li {
list-style: none;
}
nav ul li a {
color: red;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a.new {
text-decoration: none;
}
a.new:hover {
text-decoration: underline;
}
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.