madebysource / lesshat

Smart LESS CSS mixins library.
lesshat.com
MIT License
2.19k stars 258 forks source link

Global prefix config for keyframes #103

Closed asins closed 10 years ago

asins commented 10 years ago

I set @ms : false;

But I still will be generated - o - content e.g.

.keyframes(~'lightSpeedOut, 0% {transform: translateY(0%) scale(1); opacity: 1 } 100% {transform: translateY(5px) scale(.9); opacity: .4 }');
to
@-o-keyframes lightSpeedOut {
    0% {
        -o-transform: translateY(0%) scale(1);
        opacity: 1
    }
    100% {
        -o-transform: translateY(5px) scale(.9);
        opacity: .4
    }
}
...
igormorozov commented 10 years ago

It's opera prefix. You will need set @opera_local: true;

petrbrzek commented 10 years ago

You can set @opera: false for globally disabling opera syntax or @opera_local: false for disabling opera syntax only for the keyframes.

Notice: This is only relevant to LessHat 2. Less Hat 3 dropped the browser configuration feature.