Please Allow Notifications

If you want to get our blog posts notification, you can subscribe our website by clicking on allow notification button



FOLLOW US ON TWITTER



FOLLOW US



img/blogimg/css3.jpg


@coder 872

CSS3 CURSOR


2021-11-17 00:08 · 3 min read

A CSS3 cursor property sets the type of cursors. We have different types of cursors available, we can change cursor property as per our content type.

 

Cursor

Now we can change our cursor type by using the CSS3 Cursor property.

  • Examples
    Here are some examples of cursors.
  • Cursor: pointer
<style>
.pointer {
cursor: pointer;
}
</style>

Copy

  • Cursor: wait
<style>
.pointer {
cursor: wait;
}
</style>

Copy

  • Cursor: copy
<style>
.pointer {
cursor: copy;
}
</style>
<head>
<style>
.auto {cursor: auto;}
.copy {cursor: copy;}
.grab {cursor: grab;}
.move {cursor: move;}
.not-allowed {cursor: not-allowed;}
.pointer {cursor: pointer;}
.wait {cursor: wait;}
.zoom-in {cursor: zoom-in;}
</style>
</head>
<body>
<h1 class="auto">auto</h1>
<h1 class="copy">copy</h1>
<h1 class="grab">grab</h1>
<h1 class="move">move</h1>
<h1 class="not-allowed">not-allowed</h1>
<h1 class="pointer">pointer</h1>
<h1 class="wait">wait</h1>
<h1 class="zoom-in">zoom-in</h1>
</body>


Other Cursor Values

 

<style>
.alias {cursor: alias;}
.all-scroll {cursor: all-scroll;}
.cell {cursor: cell;}
.context-menu {cursor: context-menu;}
.col-resize {cursor: col-resize;}
.crosshair {cursor: crosshair;}
.default {cursor: default;}
.e-resize {cursor: e-resize;}
.ew-resize {cursor: ew-resize;}
.grabbing {cursor: grabbing;}
.help {cursor: help;}
.move {cursor: move;}
.n-resize {cursor: n-resize;}
.ne-resize {cursor: ne-resize;}
.nesw-resize {cursor: nesw-resize;}
.ns-resize {cursor: ns-resize;}
.nw-resize {cursor: nw-resize;}
.nwse-resize {cursor: nwse-resize;}
.no-drop {cursor: no-drop;}
.none {cursor: none;}
.progress {cursor: progress;}
.row-resize {cursor: row-resize;}
.s-resize {cursor: s-resize;}
.se-resize {cursor: se-resize;}
.sw-resize {cursor: sw-resize;}
.text {cursor: text;}
.url {cursor: url(myBall.cur),auto;}
.w-resize {cursor: w-resize;}
.zoom-out {cursor: zoom-out;}
</style>

 

TAGS:






POST COMMENTS
No Comment

Please login to post comment




POPULAR POSTS

what is new in miui 11?...
best free web hosting services...
free website ssl security using cloudfla...
do you want to make money online?...
CSS3 @IMPORT RULES...
CSS3 RESPONSIVE UI...
Tables HTML...
How to host a web page in 10 minutes....
How to use CSS3 Overflow Property?...
CSS3 FUNCTIONS...
CSS3 FILTERS...
CSS3 SHAPES...


RECENT COMMENTS

2022-03-05 11:05
By coder on XAMPP - MySQL shutdown unexpectedly | How to fix MySQL crash unexpectedly
2021-10-12 12:34
By abnongoke on do you want to make money online?
2021-10-12 12:34
By abnongoke on how to get a free website domain name?
2021-10-12 12:34
By solar panel for shed on what is new in miui 11?
2021-10-12 12:34
By solar panel for shed on best free web hosting services
2021-10-12 12:34
By amos tanui on free website ssl security using cloudflare


SOCIAL SHARE



FOLLOW US ON TWITTER



FOLLOW US ON FACEBOOK



FOLLOW US







Recent Blogs



Contact Us

Subscribe Our News-Letter



Kashipur, 244713
Uttarakhand, India



© blog.theprodevelopers.com 2022. All Rights Reserved. Powered by Pro Developer