グローバルナビはflocssではlayoutに属すと思いますか?
コンポーネントでしょうか?
また、グローバルナビのCSSはすべて入れてしまいますか?
例
.gnavi { display: flex; justify-content: center; width: 100%; } .c-gnavi__list { width: 32%; height: 60px; margin-right: .5%; box-shadow: 1px 1px 1px rgba(0,0,0,.75); } /* 最後の要素のみmarginがいらないため上書き */ .c-gnavi__list:last-child { margin-right: 0; } .c-gnavi__list--green { background-image: linear-gradient(to top, #027a32, #03d9 39%, #9fc9d); } .c-gnavi__list--red { background-image: linear-gradient(to top, #a81d01, #fd37 39%, #ff984); }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2016/11/25 09:36