how to change cursor and browser right scrollbar

0

How to change the mouse cursor and the right scroll bar since I did a lot of searches and all cursor with the default default of the tag example code:

.mouse{
cursor: pointer;
}

and not so I wanted a cursor like this site for example of course it will not be the same = 3:

link

And also the scroll bar I have no idea how to change it.

    
asked by anonymous 04.05.2015 / 16:18

2 answers

1

The cursor you can can change using the cursor property by specifying an image. Example:

elemento {
    cursor:url(http://placehold.it/15x15);
}

It's always a good idea to give a second argument so that when the image is not loaded, the next cursor is called:

elemento {
    cursor:url(http://placehold.it/15x15), default;
}

Demo in JSFiddle: link

On the scroll bar, no it is recommended to change it, as this is not included in the W3C standards. The most you can do is to change the scroll bar in one or two browsers, and even then using a lot of CSS lines (which will result in useless data for users who do not use those browsers).

I think it's a good solution using JavaScript, but the idea itself is not good. You can read more about this in other similar questions:

04.05.2015 / 16:40
0
cursor: url('seu_cursor_personalizado.cur'), apontar;

As for the scroll bar, take a look at this topic here from stackoverflow: How to make a custom ScrollBar?

    
04.05.2015 / 16:42