Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

get scrollbar width css

let scrollbarWidth = (window.innerWidth - document.body.clientWidth) + 'px';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scrollbar #width #css
ADD COMMENT
Topic
Name
4+4 =