Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access css property using javascript

const element = document.querySelector('.element')
const style = getComputedStyle(element)
Source by zellwk.com #
 
PREVIOUS NEXT
Tagged: #access #css #property #javascript
ADD COMMENT
Topic
Name
1+9 =