-
Notifications
You must be signed in to change notification settings - Fork 531
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
Powerful custom functions #111
Comments
This is a very very good idea, especially the generated image for stuff like IE. If we could see this implemented, as well as other stuff like translucent backgrounds, for example, this would make life a lot easier. I'm assuming the generated image would be cached and stored in a directory so it doesn't have to be re-generated every page load. The only problem I can see here is where this directory could be, but I think the best idea would be a folder with a completely random name to stop overwrites in the same directory as less.php? |
I use less with a css and js cache system (http://www.digitalestudio.es/proyectos/tinyfier/), then the generated image will be saved in the same folder that the css and js cache, usually this folder is in the same directory than the original css. selector {
background: sprite('image.png', 'group-name')
} |
did you manage to integrate css sprite functionality somehow? |
yes, and gd-generated gradients too, but it's still experimental, if you want to try and look the code you can download it from: http://dl.dropbox.com/u/2124047/tinyfier_beta.rar |
wow, it looks great! can you put it to github so I (and others) can fork it? |
Sure, you have it in https://github.com/javiermarinros/Tinyfier |
An interesting feature for improve the custom functions may be allow to return multiple values for the same property. As example, I can do:
And for this input:
Will generate:
Thank you
The text was updated successfully, but these errors were encountered: