Flexbox よく使うベンダープレフィックスまとめコピペ用
flexbox
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
flex-wrap(wrap)
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
flex-wrap(nowrap)
-ms-flex-wrap: nowrap;
-webkit-flex-wrap: nowrap;
flex-wrap: nowrap;
align-items(center)
-ms-flex-align: center;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
justify-content(space-around)
-ms-flex-pack: justify;
-webkit-box-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
justify-content(space-between)
-ms-flex-pack: justify;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
justify-content(center)
-ms-flex-pack: justify;
-webkit-box-pack: justify;
-webkit-justify-content: center;
justify-content: center;
justify-content(flex-start)
-ms-flex-pack: justify;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
flex-direction(row-reverse)
-ms-flex-direction:row-reverse;
-webkit-flex-direction:row-reverse;
flex-direction:row-reverse;
flex(ショートハンド、値が1の場合)
-ms-flex: 1;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex:1;
これっていつまで必要なのでしょうか
IEが完全になくなるまで?
とりあえず使い続けてます
コメント