<div>
  CSS
</div>


div::before{
  content:
    "Do you know";
  background: green;
}

div::after{
  content:
  "is pretty cool to learn?";
  background: red;
}


Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.