li.Log-In {
margin-left: 20px;
text-transform: uppercase;
}
li.Log-In:hover {
margin-left: 20px;
text-transform: uppercase;
cursor: hand;
}
When I test it out, when I hover above Log In it doesn't change the cursor to hand
You dont need to add :hover for achieving this. And the name for hand cursor is not 'hand' its just 'pointer' Try this:
li.Log-In {
margin-left: 20px;
text-transform: uppercase;
cursor: pointer;
}
:hover isn't needed. I've written .myClass:hover { cursor: pointer; } for years! Try this fun thing with hover!! :)
<!DOCTYPE html>
<head>
<title>Hover</title>
</head>
<style type="text/css">
#box{
width: 10em;
height: 10em;
background: #666;
margin: 2em auto;
box-shadow: 0 .2em .4em rgba(0,0,0,0.3);
-webkit-transition:all ease-in .2s;
-o-transition:all ease-in .2s;
-moz-transition:all ease-in .2s;
-ms-transition:all ease-in .2s;
transition:all ease-in .2s;
cursor: pointer;
/*cursor: wait;*/
}
#box:hover{
border-radius: .5em;
background: #13a58e;
box-shadow: 0 .5em .3em rgba(0,0,0,0.5);
margin: .3em auto;
}
</style>
<body>
<div id="box"></div>
</body>
</html>
cursor:handtocursor: pointer;cursor: handmakes me laugh out loud haha