如果你想在多个类别中执行此操作并避免出现大量 SCSS 行,可以使用 SCSS 循环。它使代码更易于阅读和维护,因为你只需编辑两个 SCSS 变量。
Canapin
(Coin-coin le Canapin)
6
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| How to add unique text below each category image? | 8 | 518 | 2023 年6 月 21 日 | |
| How to split the categories into sections with titles? | 3 | 1060 | 2023 年3 月 14 日 | |
| Change the font on a single category | 3 | 365 | 2021 年7 月 9 日 | |
| Different themes per category? | 9 | 2584 | 2024 年6 月 8 日 | |
| Adding custom css on particular categories | 4 | 1040 | 2024 年1 月 3 日 |