main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
357 bytes
|
Line | |
---|
1 | var values = {
|
---|
2 | flex: ['-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'],
|
---|
3 | 'inline-flex': ['-webkit-inline-box', '-moz-inline-box', '-ms-inline-flexbox', '-webkit-inline-flex', 'inline-flex']
|
---|
4 | };
|
---|
5 |
|
---|
6 | export default function flex(property, value) {
|
---|
7 | if (property === 'display' && values.hasOwnProperty(value)) {
|
---|
8 | return values[value];
|
---|
9 | }
|
---|
10 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.