Styling HTML Code Blocks Using Only CSS & CSS Counters


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

Learn how to style the HTML code element with CSS using CSS counters. CSS counters are the CSS equivalent to variables. In my tutorial I use CSS counters to emulate line numbers for my code block.

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=33

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.