position :before content css code example Example: ::before content /* Add a heart before links */ a::before { content: "♥"; }