change cursor css code example

Example 1: antialiasing css

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
//Also use webfonts: https://www.fontsquirrel.com/

Example 2: css cursor pointer hover

.pointer {
  cursor: pointer;
}

Example 3: on hover change cursor

li {
cursor: pointer;
}

Example 4: hand property css

li { cursor: pointer; }

Example 5: cursor pointer

.class {
	cursor: pointer;
}

Example 6: cursor as image css

You can use own image or emoji as cursor
<style>       
    a{
        cursor: url("custom.gif"), url("custom.cur"), default;
    }
</style>

<p>Place your mouse pointer <a href="#">over me</a> to reveal the custom cursor.</p>

Tags:

Css Example