how to know the style of elment css js 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)