12345678910111213141516171819202122232425262728 |
- let Declaration = require('../declaration')
- class GridRowAlign 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-row-align'
- }
- /**
- * Change IE property back
- */
- normalize() {
- return 'align-self'
- }
- }
- GridRowAlign.names = ['grid-row-align']
- module.exports = GridRowAlign
|