Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How do you do when you want to add some text in CSS with userstyles ?

Hello,
As people accustomed to CSS, you maybe have a simple solution.
I would like to add a simple sentence : one line (no more).

But how is it possible with CSS only ?
Thank you

Comments

  • #targetelement::after {
      content: "This sentence will appear after the targetelement."; 
    }
    

    It's the same with ::before

  • #targetelement::after {
    content: "This sentence will appear after the targetelement.";
    }

    It's the same with ::before

    thanks for your quick answer
    it works well !

Sign In or Register to comment.