Answers for "how to change content in a div with 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 change content in a div with css"

Browse Popular Code Answers by Language