注目キーワード
  1. npm
  2. composer
  3. css

[CSS3] display:flexで中央揃え色々

子要素の縦中央揃え

display: flex;
flex-flow: row;
align-items: center;

子要素の縦横中央揃え

display: flex;
justify-content: center;
align-items: center;

子要素の横中央揃え、縦伸張

display: flex;
justify-content: center;
align-items: stretch;