Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

before after css

<style>
  div::before {
  content: "before";
}
div::after {
  content: "after";
}
</style>
<div>
  before
  <!-- Rest of stuff inside the div -->
  after
</div>
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css
ADD COMMENT
Topic
Name
2+9 =