nathansmith/unsemantic

Invalid CSS property declaration

supermensa opened this issue · 3 comments

Safari (7.0.3) lists the '.clear' class as an invalid CSS property declaration?

Hmm, that's odd. Perhaps it's because <div class="clear"></div> takes up no space?

Safari might be getting confused and be wondering what its purpose is.

It exists only to clear floats.

But, the CSS itself is fine. There's not anything illegal going on here.

:)

Or, did you mean .clearfix?

If so, that has {*zoom:1} to make IE7 behave…

https://github.com/nathansmith/unsemantic/blob/master/assets/stylesheets/unsemantic-grid-responsive-tablet.css#L37

Yes, it's technically invalid CSS, but has no detrimental effect on the rendering of a page.

OK, thanks. I'll have to ignore the strict warnings from Safari. Closing.