Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
DebugCSS: highlight potentially malformed, invalid or questionable markup (github.com/yahoo)
40 points by LiveTheDream on Oct 3, 2011 | hide | past | favorite | 5 comments


That's intelligent. CSS taking care of CSS.

This part was specially interesting:

/* These may not be "wrong", but let's bug you anyway. */

b:after, i:after, blink:after, marquee:after { background: green; content: 'Should you be using strong or em?'; }


Made a bookmarklet for it here: http://steve.io/debugcss/



I was not aware that you could inject content with CSS. Cool.


Any links to an example?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: