FLOCCSのobjectやprojectは、oocssの見た目と構造の分離を取り入れて、
margin、padding、fontsizeなどをそこには指定せず、
utilityにある下記のようなファイルを利用して、できる限り指定するそうですが、
1px単位で幅などを指定しないといけない場合や下記にない場合はどうすればよいでしょうか?
できる限り下記でやるべきですが、無理な場合だけobjectやprojectに記載してよいということでしょうか?
・utilityの例
/* margin - utility --------------------------------------------------------- */ /* auto margin */ .u-m-c{ margin-right: auto !important; margin-left: auto !important; } /* Top margin */ .u-mt-0{ margin-top: 0 !important; } .u-mt-8{ margin-top: 8px !important; } .u-mt-16{ margin-top: 16px !important; } .u-mt-24{ margin-top: 24px !important; } .u-mt-32{ margin-top: 32px !important; } .u-mt-40{ margin-top: 40px !important; } .u-mt-48{ margin-top: 48px !important; } .u-mt-56{ margin-top: 56px !important; } .u-mt-64{ margin-top: 64px !important; }
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。