Re:Bootstrap 2.2.2 is out
by KaoruAoiShiho on Saturday December 08, 2012 @09:21PM
(#4893514)
While Bootstrap is "great" it really needs a viable competitor. There's a tons of things that could be done better.
The competitor must be really nice looking by default, responsive, use Stylus/Sass not LESS, and be modular. There isn't one today, but I hope there will be one in 2013.
Re:Bootstrap 2.2.2 is out
by recycledair on Saturday December 08, 2012 @10:00PM
(#4893612)
Zurb Foundation seems to be what you are looking for. It uses SASS and actually predates bootstrap and is being actively maintained. Its a great alternative. http://foundation.zurb.com
Re:Bootstrap 2.2.2 is out
by sontek on Saturday December 08, 2012 @10:34PM
(#4893674)
Bootstrap came out of Zurb, Mark worked with them and learned everything, and then when he went to Twitter he re-used a bunch of zurb to create the first version of bootstrap.
Re:Bootstrap 2.2.2 is out
by rcsorensen on Saturday December 08, 2012 @10:11PM
(#4893636)
The thing that finally pushed me off LESS was animations, and the contortions necessary to get to something even approximating DRY for some concepts.
I think it might be a result of trying to be "better CSS" instead of "a language for generating CSS".
Say you wanted to delay a slide-in-right animation for 50ms per list item. (So item 1 slides in immediately, item 2 50ms later, item 3 50ms later, etc.)
For that portion, this is what the LESS looks like:
-animation-delay(@delay) { animation-delay: @delay; ...vendor prefixes... }
.delay-child-animations {
&:nth-child(2n){ .animation-delay: 50ms; }
&:nth-child(3n){ .animation-delay: 100ms; }
&:nth-child(4n){ .animation-delay: 150ms; }
... more things here ...
}
In SASS, we could do something like
@mixin delay-child-animations($max-children: 20) {
@for $i from 1 to $max-children {
&:nth-child(#{$i}n){ .animation-delay: ($i - 1)*50ms;
}
}
Re:Bootstrap 2.2.2 is out
by pdog on Saturday December 08, 2012 @10:05PM
(#4893620)
"Sass is better on a whole bunch of different fronts, but if you are already happy in LESS, that's cool, at least you are doing yourself a favor by preprocessing."
Re:Bootstrap 2.2.2 is out
by cvrajeesh on Sunday December 09, 2012 @12:21AM
(#4893905)
I really liked Foundation framework. It is responsive by default, now it my first choice for public facing site. Bootstrap I use mainly for for admin interface.
Re:Bootstrap 2.2.2 is out
by mixmastamyk on Saturday December 08, 2012 @09:24PM
(#4893526)
And perhaps focused on the semantic web instead of presentation? A guy here turned me on to the idea, although I'm not sure I yet completely understand how it would go from the abstract to the concrete.
Re:Bootstrap 2.2.2 is out
by coderdude on Saturday December 08, 2012 @08:32PM
(#4893412)
Bootstrap was going to ditch Glyphicons (and IE7 support) with 2.2.2[1] but it looks like they're either holding off on that or they changed their mind. I recommend using Font Awesome[2] instead of Glyphicons.
The competitor must be really nice looking by default, responsive, use Stylus/Sass not LESS, and be modular. There isn't one today, but I hope there will be one in 2013.
Discussion here: http://news.ycombinator.com/item?id=4588053
I really like LESS. What am I missing out on?
I think it might be a result of trying to be "better CSS" instead of "a language for generating CSS".
Say you wanted to delay a slide-in-right animation for 50ms per list item. (So item 1 slides in immediately, item 2 50ms later, item 3 50ms later, etc.)
For that portion, this is what the LESS looks like:
In SASS, we could do something like References:http://stackoverflow.com/questions/8294400/css-animations-wi... http://radiatingstar.com/css-keyframes-animations-with-less
http://css-tricks.com/sass-vs-less/
Sass also allows you to put media queries inside your rule blocks. (In the future, this will be also possible in regular CSS.)
http://www.quora.com/Bootstrap-front-end-framework/Why-did-T...
http://twitter.github.com/bootstrap/base-css.html#icons
[1] http://blog.getbootstrap.com/2012/11/09/glyphicons-font/
[2] http://fortawesome.github.com/Font-Awesome/
You can also use http://retinajs.com/ to scale stuff up if you want.