fd22b0bf58
V2 (Laravel re-make)
29 lines
516 B
JavaScript
Vendored
29 lines
516 B
JavaScript
Vendored
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
|