Bootstrap 課程中有提到怎麼透過 Sass 改變樣式
但其實沒有從基礎開始介紹
主要原因在於 Sass 課程我們都是免費公開的喔
廖洧杰 在以前參加鐵人賽時,就提供 90 篇教學文章
https://github.com/gonsakon/Learn-Sass-in-90-days
除此之外,RWD 的 Sass 章節課程也都可以免費預覽
(展開全部課程,找到 Sass 章節就能直接預覽了)
https://www.udemy.com/responsive/?couponCode=COUPON_2018
線上問答部分也有介紹過好幾次
在此也分享給大家:
六角學院 - SASS 之 @function、@extend、@mixin
https://www.youtube.com/watch?v=FVx8WvZQV10
Sass 基礎運用介紹 - (附有開發環境)
https://www.youtube.com/watch?v=mgZRZ91h5yk
Bootstrap 4 結合 Sass 編譯,自訂元件超輕鬆
https://www.youtube.com/watch?v=efEBKRQhNlc
Sass 算是一個非常值得投資的技術
算是目前不斷變動的前端技術中還沒有被替代的
其中許多優點在課程中我就不再提了
不過,在此要說一下明顯的缺點
寫 CSS 速度會越來越快並且可用性越來越高
接下來,寫完的 CSS 也就不太需要再去改
(或者改動時間變短)
然後就會被迫去學 JS 惹 😭
css extend css 在 (7)利用Sass「@extend」,讓你無痛合併CSS樣式 - iT 邦幫忙 的相關結果
要集中相同樣式的工作流程相對也會變得更加繁瑣,. 所幸Sass @extend可以解決這樣的問題。 有的時候我們為了不要讓CSS太龐大, 所以有class用到相同 ... ... <看更多>
css extend css 在 The Extend Concept | CSS-Tricks 的相關結果
This is such a tiny thing. It just doesn't output the placeholder in the CSS (hence, “placeholder”) it just allows you to extend them. The big ... ... <看更多>
css extend css 在 How to extend css class with another style? - Stack Overflow 的相關結果
You will have to use a CSS preprocessor to do this. SASS. placeholder %rounded-corner {} %corner {} %button-effective {} .button { @extend ... ... <看更多>