Frontend Alchemist
2013年11月4日 星期一
CSS命名: 中線、下畫線、駱駝峰?
Hyphens, Underscores, or camelCase?
很愛用下畫線、看來要改掉個壞習慣!
Hyphens:
people-like-h
yphens
Underscores:
people_like_u
nderscores
camelCase:
peopleLikeCamelCase
國外投票結果:
http://css-tricks.com/poll-results-hyphens-underscores-or-camelcase/
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言