Urara-Blog/node_modules/.pnpm-store/v3/files/4c/4f663c8b9b621530f69531fec64cb3fa9dc52aeaea0e27de625faedcee7af41c6393d6d433182ebb8bc088e5320f72e859c6a76666f925e0242bd61f78ebde
2022-08-14 01:14:53 +08:00

17 lines
401 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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