Skip to content
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

Support @-moz-keyframes as well as @-webkit-keyframes. #347

Merged
merged 1 commit into from
Aug 18, 2011

Conversation

idris
Copy link
Contributor

@idris idris commented Aug 17, 2011

A simple fix to support @-moz-keyframes

cloudhead pushed a commit that referenced this pull request Aug 18, 2011
support @-moz-keyframes.
@cloudhead cloudhead merged commit 7f5cf06 into less:master Aug 18, 2011
@Devric
Copy link

Devric commented Aug 29, 2011

Nice fix, just edit the file to less.app.
although how you actually use it?

i was thinking about writing a mixing for multi browsers, so i got the following, but than, how you actually use the keyframe bit so i can call it to a particular css like
.animate {
.animation(@name);
}

.animation (@name) {
    -moz-animation-name: @name;
    -webkit-animation-name: @name;
}

.keyframes(@name:name, @fromparam, @halfparam, @toparam){
    @keyframes @name {
        from { @fromparam }
        50% { @halfparam }
        to { @toparam }
    }
    @-moz-keyframes @name {
        from { @fromparam }
        50% { @halfparam }
        to { @toparam }
    }
    @-webkit-keyframes @name {
        from { @fromparam }
        50% { @halfparam }
        to { @toparam }
    }
}

@exogen
Copy link

exogen commented Dec 14, 2011

And @-ms-keyframes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants