javascript before css code example Example: :before css h2:before { content: "Read: "; color: #F00; }