Answers for "css replace text"

6

css change text

IDENTIFIER {
	visibility: hidden;
	position: relative;
}
IDENTIFIER::after {
	visibility: visible;
	position: absolute;
	top: 0;
	left: 0;
	content: "NEW_CONTENT";
}
Posted by: Guest on June-19-2020
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
0

change button text css

#search {
    width: 20em;  height: 2em;
}
Posted by: Guest on May-15-2020

Browse Popular Code Answers by Language