-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LESS.js #6
Comments
That's a very good idea actually. Does LESS.js support inline styles (in |
Hello LeaVerou, From personal experience the "Less" does not work with inline attributes "style". |
You could create a LESS file assigning each gradient to a class (ex: .zig-zag) and then assign that class to the corresponding li |
This would require editing two places to add a pattern instead of just one. |
A LESS option would be nice for Less users I'm sure. FYI there's a Sass version that a few of us have been working on as part of Compass Recipes |
I'm making a stylesheet of LESS mixins of all the gradients. |
👍 |
Just another idea,
Creating CSS patterns often requires to manually compute values (ex: "half the size"...), or have a variable in mind (ex: "my background is white")...
Have you thought of using something like LESS?
The pattern could then be saved as less stylesheet, but it should be displayed as plain CSS on the site (like it is) to allow users to just copy/paste the snippet which is good.
Let me know your thoughts about it ;)
— Antoine
The text was updated successfully, but these errors were encountered: