NET-Web-API-w-Angular/my-app/node_modules/autoprefixer/lib/hacks/animation.js

18 lines
401 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
let Declaration = require('../declaration')
class Animation extends Declaration {
/**
* Dont add prefixes for modern values.
*/
check(decl) {
return !decl.value.split(/\s+/).some(i => {
let lower = i.toLowerCase()
return lower === 'reverse' || lower === 'alternate-reverse'
})
}
}
Animation.names = ['animation', 'animation-direction']
module.exports = Animation