oocss
oocss copied to clipboard
libraries.css
Hi,
I think we need a additional line in the reset.css for HTML5-Tags:
section,article,aside,header,footer,nav,dialog,figure,figcaption{display:block}
and summary / detail - tags should be reseted too.
greetings
Hi Alexander,
I agree, we should also switch to normalize.css, it might already set html5 elems?
Nicole
Sent from my iPhone
On Apr 11, 2012, at 7:11 AM, Alexander Kaupp [email protected] wrote:
Hi,
I think we need a additional line in the reset.css for HTML5-Tags:
section,article,aside,header,footer,nav,dialog,figure,figcaption{display:block}
and summary / detail - tags should be reseted too.
greetings
Reply to this email directly or view it on GitHub: https://github.com/stubbornella/oocss/issues/103
Hi Nicole,
i had a look at normalize.css. IMO it looks really good. But I am not really shure about the font-sizes they are using. The font-reset from the YUI3-Project worked really good for me.
Another Problem is that they are using some default paddings, margins, etc which is in conflict with the OOCSS principles.
I am wonrdering: YUI3.5.0 has no HTML5 tags in the reset.css. So I am a little unsettled what is the richt way to go :)
I like the way YUI is doning the css but wondering why the don't have HTML5 in the css. For me it is shure that i want to use HTL5 and CSS3.
alex
Font-sizes and height of elements (line-height included) should be in "em" units due to accessibility concerns. Overflow of block elements should't be hidden for the same reason (referring to changes in .line & .lastUnit: https://github.com/stubbornella/oocss/commit/9bb82e89164a816968f6b7c44e3609e5fa85501b).
Heights and Overflows can be changed with JavaScript once the page is loaded and we know how is displayed.
It is true that can be annoying for pixel perfect designs, but a web should flow. And be accesible to anyone, no matter which font size the browser is configured.
Thanks for this great framework and all the guiding with css and HTML concepts :) It's the best I've tried.