The Developer Brains


CSS3 CURSOR

Web Designing | Web Development


SEE MORE














</CSS3 SYNTAX>





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


SEE MORE
























</CSS3 Cursor Property>


Cursor

Now we can change our cursor type by using CSS3 Cursor property.
  • Examples
    Here are some examples of cursor.
  • Cursor : pointer
    
    	<style>
    .pointer {
    	cursor: pointer;
    	}
    	</style>
    
    
  • Cursor : wait
    
    	<style>
    .pointer {
    	cursor: wait;
    	}
    	</style>
    
    
  • 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>


Try it Yourself









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>



















Is CSS3 cursor property used to set cursor style.
1. true
2. false




Check Now



CSS3 QUIZ







Next: CSS3 Functions


Previous

      

Next Page













  Share TDB SCHOOL  

Share this E-Learning Website on social media platforms with your friends and followers