You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
401 B
17 lines
401 B
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
|
|
|