Photo by Maik Jonietz / Unsplash

How to override text in css

Jan 21, 2022

IDENTIFIER {
visibility: hidden;
position: relative;
}
IDENTIFIER::after {
visibility: visible;
position: absolute;
top: 0;
left: 0;
content: "NEW_CONTENT";
}


Css change the button text value

document.getElementById("myButton").innerHTML="new button text";

Saugat Rimal

Hello there, I am Saugat Rimal, a web designer/developer focused on crafting great web experiences and build web projects that matter.