Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js add class to html

const root = document.getElementsByTagName('html')[0]
root.classList.add('hide-scrollbar')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #add #class #html
ADD COMMENT
Topic
Name
7+9 =