Answers for "react get scss"

CSS
1

react get scss

const appBarElement = document.querySelector('.appBar');
if (appBarElement) {
  const style = window.getComputedStyle(appBarElement);
  const position = style.getPropertyValue('position');
  console.log(position);
}
Posted by: Guest on July-16-2021

Browse Popular Code Answers by Language