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