Replaces animation and animation-name if a specific @keyframes is set.
Type: boolean
Default: false
Example:
// {replaceKeyframes:true}
@keyframes move {
from {}
to {}
}
.selector{
animation:move4sinfinite;
animation-name:move;
}
will be processed to:
// {replaceKeyframes:true}
@keyframes a{
from {}
to {}
}
.b{
animation:a 4sinfinite;
animation-name:a;
}
ignoreAttributeSelectors
If set to true it does not care about attribute selectors. If set to false the attribute selector [class$="lector"] will not rename .selector as it the class ends with lector.
Type: boolean
Default: false
Example:
{ ignoreAttributeSelectors: false }
.move[class$="lector"]{}
.selector{}
will be process to:
.a[class$="lector"]{}
.selector{}
{ ignoreAttributeSelectors: true }
.move[class$="lector"]{}
.selector{}
will be process to:
.a[class$="lector"]{}
.b{}
prefix
Prefixes every selectors and attribute selectors (if ignoreAttributeSelectors is false).