Home / CSS Tips Generated By ChatGPT / Using the content Property with Pseudo-elements in CSS Leverage the content property to dynamically insert content with CSS. Source Code .element::before { content: 'Prefix - '; } .element::after { content: ' - Suffix'; }