Closed joepagan closed 10 years ago
prefixes are added using the autoprefix package for Grunt. If you have it set up, you can run grunt
in a command line. Whenever you edit .scss files, Grunt will automatically prefix and compile the CSS.
If there's enough call for it (or you want to set it up yourself), we can set up a non Grunt version that uses mixins to prefix aswell.
Hey Ian,
Thanks for getting back to me, oh that would explain why they aren't there.
That's fair enough, though I don't use grunt myself so I would certainly prefer to use mixins.
Might be worth setting up a 2nd branch for non-grunt users if you think most people will be using grunt.
Yeah I would be happy to help, I use git, though I'm yet to help out on a github repo. Will try do something in the not too distant future. Though I'll let you decide what you would like to do first.
Ok, no problem.
It's a simple project so want to keep it as easy to use as possible. I'll set up some mixins either in additional files or a second branch.
Cool, thanks Ian, if you want to maybe commit with the mixins you want for transitions/transforms/animations etc then I can try do some. Don't think there's any point using bourbon/compass's as you don't know what people want to use, so might be worth creating the mixins with some slightly less-obvious names incase they conflict "hovTransition" for example.
Oh and thanks so much for making this, some really nice effects <3 it!
1.0.8 removes Grunt's autoprefixer task in favour of SASS mixins. Use @include prefixed(property, value)
and @include keyframes(keyframe-name) { /* keyframes content */ }
mixins to prefix any necessary properties. Find these in scss/_mixins.scss
.
Checkout README.md for further info.
Am I missing something?
The hover.css version includes the webkit/moz calls, though the scss version doesn't? Is there a scss version I can't see?
It would be so useful to use includes on elements rather than adding a class in my markup.