News for hackers. Stuff that matters.
Re:A set of useful mixins for LESS CSS by paulirish on Friday September 02, 2011 @02:26PM (#2955079)
fadeyev, your first example is a little misleading. Only Safari 3-4 required the border-radius syntax to be declared individually. So really this is how it goes:

     /* these two lines for saf 3-4 support */
       -webkit-border-top-left-radius: 5px; 
      -webkit-border-top-right-radius: 5px;

    /* all you need for Saf5, Chrome, Op, FF1+, IE9 */
     -moz-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0; 
That said, I like the project. Just clarifying this. :)

EDIT: given the spec'd shorthand syntax, your shorthand for unique corners seems to conflict `(5px, 0, 0, 5px)`. I'd suggest changing that.

Re:A set of useful mixins for LESS CSS by fadeyev on Friday September 02, 2011 @07:43PM (#2956024)
Thanks for pointing this out, you're right that the example is now outdated, though it's probably not too difficult to find more browser specific code to pick on :) I'll change that.
Re:A set of useful mixins for LESS CSS by d0m on Friday September 02, 2011 @03:42PM (#2955337)
Suggestion to improve the article: Give a visual example of each mixin. Otherwise, thanks for the article!
Re:A set of useful mixins for LESS CSS by irfn on Friday September 02, 2011 @10:30AM (#2954218)
are there any popular mixins for sass?
Re:A set of useful mixins for LESS CSS by thegingman on Friday September 02, 2011 @10:56AM (#2954316)
Check out http://compass-style.org/reference/compass/ . It has everything the two others have + some more.
Re:A set of useful mixins for LESS CSS by necubi on Friday September 02, 2011 @11:39AM (#2954464)
Unfortunately many of the compass mixins require extensions to SASS to work. This makes them difficult to use without using all of compass.
Re:A set of useful mixins for LESS CSS by techpeace on Friday September 02, 2011 @11:29AM (#2954435)
Re:A set of useful mixins for LESS CSS by stoph on Friday September 02, 2011 @11:30PM (#2956407)
I would add a page on the site to view the source for the mixins.
Re:A set of useful mixins for LESS CSS by aditya42 on Friday September 02, 2011 @10:05AM (#2954127)
Eh.

What was wrong with Preboot[1]?

[1]: http://markdotto.com/bootstrap/

Re:A set of useful mixins for LESS CSS by fadeyev on Friday September 02, 2011 @12:26PM (#2954626)
Hey aditya42,

I'm the creator of LESS Elements. Nothing is wrong with Bootstrap, it's just that when I wrote these mixins a while back Bootstrap wasn't yet available.

Re:A set of useful mixins for LESS CSS by thatcoolguy on Saturday September 03, 2011 @02:22PM (#2957798)
GitHub repo?