aszx87410 / frontend-intermediate-course

It's a free online course about some frontend tech including Ajax, CORS, gulp, webpack and so on.
266 stars 88 forks source link

[作業] 繳交hw3 #63

Closed LeoWangJ closed 7 years ago

LeoWangJ commented 7 years ago

slack 帳號 leowang

哪一個作業 3.寫 CSS 必備神器:CSS 預處理器

作業 Github 連結 https://github.com/LeoWangJ/frontend-intermediate-course/tree/master/answers/hw3

作業 Github Page 連結 https://leowangj.github.io/frontend-intermediate-course/answers/hw3/index.html

其他補充說明 將作業二的transition移出hover外(放在hover裡的話,滑鼠移開後就馬上沒有動畫了) 第一次使用sass,覺得還蠻不錯用的! 而各方法的使用時機,還需要再熟悉

問題:想問一下看官網中的sass中的mixin是用 =,+而scss中是@與@include,不過我在sass中是使用@與@include來寫, 雖然sass最後也是有轉成功css(沒有錯誤), 但是還是想問一下會有差別嗎?

aszx87410 commented 7 years ago

其實 SASS 跟 SCSS 是非常相像的東西,像到我其實也講不太出來到底有哪些差異 如果最後可以轉成功 css,那就代表是 ok 啦~