Skip to content

Instantly share code, notes, and snippets.

@JacobHsu
Created September 7, 2014 15:34
Show Gist options
  • Save JacobHsu/dec119ab775b43c3e79e to your computer and use it in GitHub Desktop.
Save JacobHsu/dec119ab775b43c3e79e to your computer and use it in GitHub Desktop.
#CSS Selectors Result// source http://jsbin.com/lewexu/1
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
<style id="jsbin-css">
/*Add your CSS below!*/
a:hover{
text-decoration:none;
}
a:first-child{
color:#CDBE70;
}
a:nth-child(3){
color:#FFC125;
}
</style>
</head>
<body>
<!--Add your HTML below!-->
<a href="http://www.google.com">link1</a>
<a href="http://www.google.com">link2</a>
<a href="http://www.google.com">link3</a>
<script id="jsbin-source-css" type="text/css">/*Add your CSS below!*/
a:hover{
text-decoration:none;
}
a:first-child{
color:#CDBE70;
}
a:nth-child(3){
color:#FFC125;
}</script>
</body>
</html>
/*Add your CSS below!*/
a:hover{
text-decoration:none;
}
a:first-child{
color:#CDBE70;
}
a:nth-child(3){
color:#FFC125;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment