{"id":1565,"date":"2012-08-02T17:50:54","date_gmt":"2012-08-02T17:50:54","guid":{"rendered":"http:\/\/cssreset.com\/?p=1565"},"modified":"2015-04-17T18:17:42","modified_gmt":"2015-04-17T18:17:42","slug":"managing-the-little-things-changing-cursors-through-css","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/managing-the-little-things-changing-cursors-through-css\/","title":{"rendered":"Managing the Little Things: Changing Cursors Through CSS."},"content":{"rendered":"<p>Cursors greatly influence an end user&#8217;s experience and CSS can be used to easily affect cursor changes depending upon hover, location and actions. This helpful tutorial will explain how to make it happen!<!--more--><\/p>\n<p>It is something that we all experience every time we are online or just working on our computers. We move our mouse and the cursor changes depending upon where we hover and click on our screen. This can be controlled through CSS and to get started, all you need is a basic understanding of the <code>cursor:<\/code> property.<\/p>\n<p>This CSS tutorial begins with showing how to change the default arrow cursor to the familiar <code>cursor: pointer;<\/code>, which you often see when hovering over a link or button. Also featured is the more advanced <code>cursor: move;<\/code> cursor, used when an object can literally be dragged and roped elsewhere on the page.<\/p>\n<p>Another common cursor is the text selector, and in this lesson you also see who you can choose something other than the default, for instance the aforementioned pointer cursor. This is ok to do because it does not interfere at all with the functionality or user experience. But if you choose a less common, or unexpected cursor like a crosshair for something simple like hovering over a link for instance, it can cause confusion.<\/p>\n<pre class=\"prettyprint linenums\">a {\r\n    cursor: crosshair;\r\n}<\/pre>\n<p>It still functions just fine, but the user may be a bit confused because the crosshair cursor implies a different function than a pointer does. So it is important to remember that a lot of information is gleaned from something as small as a cursor by your end users.<\/p>\n<p>If you found this CSS video tutorial to be useful, you will also enjoy this recent post on <a title=\"Shaking Up The Web With CSS3 (How To Make Links Shake)\" href=\"https:\/\/cssdeck.com\/blog\/\/css3-webkit-animation-shake-links\/\">how to make your links shake when you hover over them<\/a>. Let us know if you have a request for a future post by sending us a message. Make sure to visit us on Facebook to stay up-to-date and join our ongoing conversation about all things CSS, including content and resources not seen here on the website. Thanks for stopping by!<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Cursors greatly influence an end user&#8217;s experience and CSS can be used to easily affect cursor changes depending upon hover, location and actions. This helpful tutorial will explain how to make it happen!<\/p>\n<p>Share and Enjoy !0Shares0<\/p>\n<p>0<\/p>\n<p> [&#8230;]<\/p>\n<p><a class=\"more-link video\" href=\"https:\/\/cssdeck.com\/blog\/managing-the-little-things-changing-cursors-through-css\/\" title=\"Click to watch 'Managing the Little Things: Changing Cursors Through CSS.'\">Watch Video<\/a><\/p>\n","protected":false},"author":18,"featured_media":1566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,13],"tags":[67,46,79,135,88],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/1565"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=1565"}],"version-history":[{"count":3,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/1565\/revisions"}],"predecessor-version":[{"id":1721,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/1565\/revisions\/1721"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media\/1566"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}