LoginSignup
3

More than 5 years have passed since last update.

【ほぼメモ】flexbox系のemmetチートシート

Posted at

フレボを実務でガッツリ使い出したのでまとめました。(ほぼ俺専用)

emmet.css

.flexbox {
  /*d:f*/
  display:flex;

  /*jc*/
  justify-content: ;

  /*jc:c*/
  justify-content: center;

  /*jc:fs*/
  justify-content: flex-start;

  /*jc:sb*/
  justify-content: space-between;

  /*jc:sa*/
  justify-content: space-around;

  /*fxf*/
  flex-flow:;

  /*ai*/
  align-items:;

  /*ai:b*/
  align-items:baseline;

  /*ai:c*/
  align-items:center;

  /*ai:fe*/
  align-items:flex-end;

  /*ai:fs*/
  align-items:flex-start;

  /*ai:s*/
  align-items:stretch;
}

flex-flowのプロパティまで書けたら楽だったのに…(flex-directionとflex-wrapで分けて書けよとそうですか)

参考
http://docs.emmet.io/cheat-sheet/

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3