- 網頁:https://chupai.github.io/Sweetaste/
- Github:https://github.com/chupai/Sweetaste/tree/master
- 設計稿:https://xd.adobe.com/spec/934efdb7-a7e4-47d5-572e-efece0914f62-e57f/
h-
Helpersp-
Pagesl-
Layoutm-
Modulese-
Element,最小元件,不可堪入其他 Blockis-
/has-
Statesjs
JavaScript hooks
Block__Element_Modifier
Block__Element
的子元素以 Block__Element-element
表示。
例如:
.m-list__link {
/* ... */
}
.m-list__link-bg {
/* ... */
}
例如:
.m-list_p-index {}
.e-btn_m-menu {}
- Vendors
- Utils
- functions
- variables
- mixins
- Config
- reset
- reboot
- Helpers
- Element
- Modules
- Layout
- Pages
載入的 Bootstrap 4 Grid system 含以下:
- breakpoints
- bootstrap-grid
- sizing
- spacing
- visibility
- 使用
rem
單位 - flex 排版
- Material Icons