dom set css property 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)