Live data from Hacker News

Cutestrap: 8k CSS framework

cutestrap.com

21–30 of 57 posts

Re: Cutestrap: 8k CSS framework

#27
post #4

I think it will need to follow Foundation style and offer mixin rather than hardcoding the classes. A library taking like .btn andothers etc is not something you'd want. Or maybe it's just me that don't like putting tons of classes in the HTML.

When I was originally writing it, I had the classes split out into mixins, but put them back into classes so it would be a little simpler to follow at first.

I want to build the project in a way that people would like to use it, so you'll probably see mixins brought back in a future release :)

Re: Cutestrap: 8k CSS framework

#29

can someone explain the convention of importing a directory into a file of the same name (and same level) before main.scss. The structure is: src/sass/ components/ support/ vars/ _components.scss _support.scss main.scss and within main: @import "components"; Just curious why this is? I usually just import them directly into main, but I could understand if they were nested into the directory so they could be broken ou…

Hey! Usually I do exactly what you describe, but I laid it out like this so that if people want to include all the components, it's one line. Or if they'd want to include just the grid from components, it would still just be one line.

With something this small, it could be just into the one file, but I'm optimizing for that granularity.

Post reply on HN