Live data from Hacker News

Cutestrap: 8k CSS framework

cutestrap.com

51–57 of 57 posts

Re: Cutestrap: 8k CSS framework

#52
post #51

Earlier quoted context omitted.

What do you suggest to use instead?

npm.

Is style(src="/node_modules/foo/bar.min.css") really that superior to (src="/bower_components/foo/bar.min.css").

You could argue that npm is the better package manager, but the average user does care about the underlying semantics.

Re: Cutestrap: 8k CSS framework

#53
post #47
post #20

In my opinion this is still the best option for CSS, especially in combination with React. http://tachyons.io/ Most importantly it contains a ratio-based scale: http://tachyons.io/docs/layout/spacing/

Is it possible to use semantic class names then use a CSS processor to map those into tachyon classes?

Why would you do that?

Re: Cutestrap: 8k CSS framework

#54
What do you think of http://bulma.io? It's based on Flexbox, what it attracts me is that: 1) Quite feature rich out of the box. 2) Very nice-looking out of the box, than Bootstrap. 3) Much lightweight than bootstrap. 4) It's very easy to learn, even for a desktop-app-guy like me. 5) It's very interesting that Bulma has very little "global styles" - most of the time you need to explicitly reference a Bulma class. To me this seems like to way to go - you know, in the programming world we try our best of best to avoid global variables.

What do you think?

Re: Cutestrap: 8k CSS framework

#55

Earlier quoted context omitted.

Geez. Those selectors.. " "

It is a bit weird to use at first but I highly recommend giving it a shot. I've built some complex UI's with the same class name styles (Basscss). 99% of the time I'm reusing classes and I don't have to write anything custom. Prototyping is great once you memorize the classnames.. Just write HTML, no need to switch to CSS files. If you're working with global styles this is by far the most scalable CSS methodology as…

"...once you memorize the classnames"

I don't know which editor you are using, but for TextMate I've written a 20 line-plugin that greps the tachyons.css file and gives me code-completion.

http://postimg.org/image/tq038rwqp/

Re: Cutestrap: 8k CSS framework

#57
post #53
post #47

Earlier quoted context omitted.

Is it possible to use semantic class names then use a CSS processor to map those into tachyon classes?

Why would you do that?

It would decouple your structure(html) from your display(css). The semantic class applied to your html could remain unchanged while you are changing the style. For example, you could switch from using a css library like tachyon, to swapping it out with a custom css without touching your html/templates. You're right though, it is an extra layer of abstraction that might not be needed.
Post reply on HN