first commit
This commit is contained in:
17
app_vue/node_modules/autoprefixer/lib/hacks/animation.js
generated
vendored
Normal file
17
app_vue/node_modules/autoprefixer/lib/hacks/animation.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
let Declaration = require('../declaration')
|
||||
|
||||
class Animation extends Declaration {
|
||||
/**
|
||||
* Don’t 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
|
Reference in New Issue
Block a user