Location:Home > JS special effects code > Other front-end code
Example of using jquery.nicescroll to beautify the scroll bar
jquery.nicescroll is a beautifying scroll bar plug-in, an example of beautifying scroll bar usage. $('#content').niceScroll({
cursorcolor: "#ccc",//#CC0071 cursor color
cursoropacitymax: 1, //scrollabar "visible" state, range from 1 to 0
touchbehavior: false, //Make the cursor drag and scroll like a touch device on a desktop computer
cursorwidth: "5px", //The width of the pixel cursor
cursorborder: "0", // CSS definition of cursor border
cursorborderradius: "5px",//Use pixels as the cursor boundary radius
autohidemode: false //Whether to hide the scroll bar
});
You May Also Like
- Several cacti painted by pure css
- MJ Walk on the Moon 404 Page
MJ walks on the moon 404 page, creative 404 page animation special effects.
- jQuery digital step next step guide
jQuery digital step next step guide, multi-step separate operation effect.
- js drag picture multi-layered bit effect
- d3.js dynamic steam chart special effects
- fishBone.js fishbone diagram plugin
fishBone.js fishbone diagram plug-in, custom horizontal time axis development history style.
- jQuery table row drag and drop sorting effect
- Bookshelf drawn by css code
- js countdown alarm light special effect code
- js cool color particle animation effects