End articles with ivy leaf


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. p:last-child:after {
  2. content: "\2766"; /* Here comes the ivy leaf */
  3. font-size: 150%; /* Makes the leaf larger than the normal text */
  4. padding-left: 10px; /* Leaf won't clash with the last letter of the text */
  5. float: right; /* Horizontal position is set to the right edge of the column */
  6. position: relative; /* This is just an homage to Albert Einstein */
  7. top: 15px /*Vertical distance from the last line of text */

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.