Appending :after & :hover Pseudo Elements

Just append :after to your #alertlist li:hover selector the same way you do with your #alertlist li.selected selector: :hover can easily be appended to :after or :before in the just the same way it would to any otehr element. li:after { color: red; } li:after:hover { color: blue;…

Styling list markers

If you're looking to incorporate a numbered list in a site it's likely you'll be using an ordered list <ol> and it's not unlikely you'll be looking to style the numerals generated. While not as straight forward as you might assume, it can be done. Roger Johansson's tutorial…