UNPKG

css-value-browser-h4cks-analyzer

Version:

A list of tests to determine whether a CSS value is considered a browser hack

6 lines (5 loc) 203 B
module.exports = value => { // A value that ends with any of these character sequences // is considered a browser hack return ['\\9', '!ie', ';]', ';)'].some(character => value.endsWith(character)) }