Skip to content

Styling Cross-Browser Compatible Range Inputs with Sass

License

Notifications You must be signed in to change notification settings

EasierLikeThis/input-range-scss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Styling Cross-Browser Compatible Range Inputs with Sass / SCSS

Sass component for customizing the input range using the native properties of each browser. Based on article Styling Cross-Browser Compatible Range Inputs with CSS from CSS Tricks blog.

NPM Package

npm install --save input-range-scss

Features

  • Variables for easy customization
  • Uses the native properties of each browser
  • Preserves accessibility
  • Cross-browser compatible

Example

Input range native and custom on browsers

Changelog

1.5.1

  • Correction of input cursor to default (thanks, pichfl)

1.5.0

  • Added :disabled state (thanks, mpavel)
  • Improved normalization across browsers (thanks, guidezpl and GufNZ)
  • Removed Firefox border outline on focus (thanks, DeanPoulin)

1.4.1

  • Fixing example page

1.4.0

  • NPM Package

1.3.0

  • Better default style and example page

1.2.0

1.1.1

1.1.0

  • Make all variables as '!default'. (thanks, n0nick)

1.0.1

See Also

Input range browser support

About

Styling Cross-Browser Compatible Range Inputs with Sass

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 89.1%
  • HTML 10.9%