Icard/angular-clarity-master(work.../node_modules/autoprefixer/lib/hacks/grid-column-align.js

29 lines
513 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
let Declaration = require('../declaration')
class GridColumnAlign extends Declaration {
/**
* Do not prefix flexbox values
*/
check(decl) {
return !decl.value.includes('flex-') && decl.value !== 'baseline'
}
/**
* Change property name for IE
*/
prefixed(prop, prefix) {
return prefix + 'grid-column-align'
}
/**
* Change IE property back
*/
normalize() {
return 'justify-self'
}
}
GridColumnAlign.names = ['grid-column-align']
module.exports = GridColumnAlign