Created
June 14, 2022 12:06
-
-
Save FrankFonts/7cafb990220a5e645b99659b02f3acb6 to your computer and use it in GitHub Desktop.
getPropertyValue in JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let tabs = document.querySelector('.tab__links'); | |
let tabsPaddingLeft = parseInt(window.getComputedStyle(tabs, null).getPropertyValue('padding-left')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment