Javascript de tamanho de fonte de estilo
document.getElementById("your element").style.fontSize = "20%"
I_Like_Cats__
document.getElementById("your element").style.fontSize = "20%"
// get reference to element using its ID or querySelector
const myElement = document.getElementById("elementID");
// pass element reference and getPropertyValue of font-size
const size = window.getComputedStyle(myElement).getPropertyValue("font-size");
document.getElementById("foo").style.fontSize = "18"
const element = document.querySelector("#id");
const size = window.getComputedStyle(element).getPropertyValue("font-size");