Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass / SCSS 預處理器 - Nesting 巢狀結構 | Roya's Blog #62

Open
awdr74100 opened this issue May 21, 2020 · 0 comments
Open

Sass / SCSS 預處理器 - Nesting 巢狀結構 | Roya's Blog #62

awdr74100 opened this issue May 21, 2020 · 0 comments

Comments

@awdr74100
Copy link
Owner

https://awdr74100.github.io/2020-05-21-scss-nesting/

上一次我們已經將 SCSS 的編譯環境給建立好了,接下來讓我們正式進入到語法的章節,第一個介紹的是 nesting 巢狀結構,這也是 Sass / SCSS 最強大的功能之一,之前我們有提到傳統 CSS 可能會發生父對象重複撰寫的問題,為了避免汙染到其他樣式,我們必須明確地寫出父子對象的關係,搞到最後才發現浪費了許多時間,如果改使用 Sass / SCSS 中的巢狀結構語法,即可解決此類的問題。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant