Live data from Hacker News

Semantic UI – A language for sharing UI

semantic-ui.com

51–60 of 85 posts

Re: Semantic UI – A language for sharing UI

#52
post #7

The bootstrap markup is actually more semantic than Semantic UI. Classes like large, red, floated, right, circular etc.. are presentational not semantic. If you want to use a framework and keep semantic CSS then look in to using the LESS/SASS version of Bootstrap or Foundation. Edit: After a more detailed look, the framework is actually really nice (and very comprehensive). The name still doesn't make much sense thou…

I don't understand this. It's CSS. Of course it's presentational. Do CSS class names have to describe the semantic structure, as well as the DOM structure?

There's no such thing as a "CSS class". HTML has classes, and CSS has class selectors.

So yes, since HTML is designed to describe its content, the class names should describe the content and the CSS should select that content to style.

Re: Semantic UI – A language for sharing UI

#54

Can you guys please stop whining about the name and talk about the features? Didn't your elementary school teacher tell you not to judge a book by its cover? They could always change the name if they had to. They never actually say they're semantic HTML, it could have other meanings. Or, you know, it could just be a name. There's plenty of projects with meaningless names.

http://en.wikipedia.org/wiki/Semantic_HTML

"Semantic" actually means something important in the context of HTML, and this project completely violates it.

Re: Semantic UI – A language for sharing UI

#55

Earlier quoted context omitted.

I don't understand this. It's CSS. Of course it's presentational. Do CSS class names have to describe the semantic structure, as well as the DOM structure?

There's no such thing as a "CSS class". HTML has classes, and CSS has class selectors. So yes, since HTML is designed to describe its content, the class names should describe the content and the CSS should select that content to style.

Not true. A "CSS class" is where you go to be taught about CSS.

Re: Semantic UI – A language for sharing UI

#56
post #45
post #25

Earlier quoted context omitted.

I really liked it visually speaking but yes, buttons implemented as divs it's sad.

Although it's sad, what's really sad is that buttons don't render consistently across browsers. I try to avoid buttons for that reason :(

Trapped in 1999? Buttons render ok since IE7/8.

Re: Semantic UI – A language for sharing UI

#57
What is this? Inuit css is more semantic than this, and i don't see the point to use classes in html document anymore, I actualy inject them via js or just extend reausable classes made in scss, semantics of html should just have attributes that actualy describe what the element is for with ARIA, roles, etc.

Re: Semantic UI – A language for sharing UI

#59

Earlier quoted context omitted.

There's no such thing as a "CSS class". HTML has classes, and CSS has class selectors. So yes, since HTML is designed to describe its content, the class names should describe the content and the CSS should select that content to style.

Not true. A "CSS class" is where you go to be taught about CSS.

Any good sites I can select a CSS class?

Re: Semantic UI – A language for sharing UI

#60
Hey, I'm jack the guy behind semantic UI. Semantic isn't ready for release yet. A lot of the copy on the site is only currently in draft form. and there are plenty of inconsistencies with the code base itself. Hell, there isn't even a download link.

I've been privately been working on the framework trying to get it to a place where i'm happy enough to open it up for outside feedback and it's not quite there yet.

The idea behind semantic UI is that html tags aren't truly semantic, but have become conventional to programmers. There is nothing semantic about using an 'a' tag to refer to a link or td for a table cell. These codifications make web development less accessible to non programmers. Ideally we'd all start going around creating our own top level tags to define user interface, but we don't really have that opportunity today.

The only chance, I believe, we have to build a linguistically semantic web is to build conventions around class names usage, the bit of web design where most FEDs make their decisions.

Semantic uses DIVs as an equalizing factor. If we can't control how browsers interpret tags then we might as well ignore them. I'm sure a lot of this stuff sounds terribly bombastic. The intention is quite the opposite. Define by convention, not by prescription.

I'm looking forward to bringing semantic back to hacker news sometime when its more fully completed.

Post reply on HN