Answers for "how to update the text of the div using css"

CSS
0

change text in a div css

button {
  visibility: hidden;
}
button:after {
  content:'goodbye'; 
  visibility: visible;
  display: block;
  position: absolute;
  background-color: red;
  padding: 5px;
  top: 2px;
}
Posted by: Guest on January-09-2021

Code answers related to "how to update the text of the div using css"

Browse Popular Code Answers by Language