Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #text #div #css
ADD COMMENT
Topic
Name
7+8 =