Created
May 18, 2015 15:52
-
-
Save theeltahir/7016795e7949573cdd30 to your computer and use it in GitHub Desktop.
a precess production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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