Thread: css question
View Single Post
Old 04-20-2024, 07:14 PM   #23
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,220
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Brett Merkey View Post
Yes, it is possible to use CSS to insert text into content. Use a pseudo-element.

Example:


Then insert <p class="scenebreak"></p> in the desired place.
To make your code more semantic, you should use <hr/>. The hr element is meant for scene breaks.

Code:
hr.scenebreak:before {
  content: "* * * ";
}
thiago.eec is offline   Reply With Quote