Live data from Hacker News

Ask HN: Bootstrap semantics

news.ycombinator.com

1–6 of 6 posts

Ask HN: Bootstrap semantics

#1
Hello! Could somebody explain why Bootstrap asks you to write instead of , or instead of ? Why not apply the default styling to platform-independent HTML markup?

Thanks!

Re: Ask HN: Bootstrap semantics

#4

You might not want to style all your buttons in that particular way. The least they could do is separate it into classes. SASS inheritance would be nice, too.

Thanks. Yes, the way I humbly see it is that you could always add pre-made or custom-made classes that would alter the default behavior.

Re: Ask HN: Bootstrap semantics

#5
post #2

I think in the case of the "btn" class it's designed to be usable on a, span, button, input, etc.

Thanks. I can see your point about "btn" and, to be honest, I'm just getting started with Bootstrap. These points are a bit confusing at first.

Re: Ask HN: Bootstrap semantics

#6
post #4

You might not want to style all your buttons in that particular way. The least they could do is separate it into classes. SASS inheritance would be nice, too.

Thanks. Yes, the way I humbly see it is that you could always add pre-made or custom-made classes that would alter the default behavior.

Yeah, a lot of devs have to do that because they just use the CSS, like from bootstrapcdn [1]. It's nice not to have to, though, especially for those of us who leverage LESS.

[1] http://www.bootstrapcdn.com/