0
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

4
  • change cursor:hand to cursor: pointer; Commented Sep 24, 2017 at 3:18
  • 1
    cursor: hand makes me laugh out loud haha Commented Sep 24, 2017 at 3:22
  • cursor:hand really?? Commented Sep 24, 2017 at 4:01
  • Voting to Close as this question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. Commented Sep 24, 2017 at 9:52

2 Answers 2

6

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;
      }
Sign up to request clarification or add additional context in comments.

1 Comment

Ha! I never thought of this which is crazy - the cursor is only relevant on hover so :hover isn't needed. I've written .myClass:hover { cursor: pointer; } for years!
-1
 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>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.