Style your order list


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <ol>
  2. <li>
  3. <p>This is line one</p>
  4. </li>
  5. <li>
  6. <p>Here is line two</p>
  7. </li>
  8. <li>
  9. <p>And last line</p>
  10. </li>
  11. </ol>
  12.  
  13. ol {
  14. font: italic 1em Georgia, Times, serif;
  15. color: #999999;
  16. }
  17.  
  18. ol p {
  19. font: normal .8em Arial, Helvetica, sans-serif;
  20. color: #000000;
  21. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.