first commit
This commit is contained in:
21
app_vue/node_modules/autoprefixer/lib/hacks/display-grid.js
generated
vendored
Normal file
21
app_vue/node_modules/autoprefixer/lib/hacks/display-grid.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
let Value = require('../value')
|
||||
|
||||
class DisplayGrid extends Value {
|
||||
constructor(name, prefixes) {
|
||||
super(name, prefixes)
|
||||
if (name === 'display-grid') {
|
||||
this.name = 'grid'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Faster check for flex value
|
||||
*/
|
||||
check(decl) {
|
||||
return decl.prop === 'display' && decl.value === this.name
|
||||
}
|
||||
}
|
||||
|
||||
DisplayGrid.names = ['display-grid', 'inline-grid']
|
||||
|
||||
module.exports = DisplayGrid
|
Reference in New Issue
Block a user