get css property of element javascript code example
Example: access css property using javascript
const element = document.querySelector('.element')
const style = getComputedStyle(element)
const element = document.querySelector('.element')
const style = getComputedStyle(element)