FOLLOW US ON TWITTER



FOLLOW US



img/blogimg/css3.jpg


@coder 1048

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

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


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 2024. All Rights Reserved. Powered by Pro Developer