Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
早點回家的工具
Search
Kytu Lin
December 06, 2012
Technology
10
1k
早點回家的工具
Kytu Lin
December 06, 2012
Tweet
Share
More Decks by Kytu Lin
See All by Kytu Lin
那些用 programming 換得的麵包跟夢想
kytu
1
310
關於網站上線
kytu
1
180
Other Decks in Technology
See All in Technology
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
340
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
510
AWS DevOps Agent x ECS on Fargate検証 / AWS DevOps Agent x ECS on Fargate
kinunori
2
180
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2.1k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
390
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
270
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
560
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
220
OpenShiftでllm-dを動かそう!
jpishikawa
0
140
今こそ学びたいKubernetesネットワーク ~CNIが繋ぐNWとプラットフォームの「フラッと」な対話
logica0419
5
470
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
110
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Crafting Experiences
bethany
1
52
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
79
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
79
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Designing Powerful Visuals for Engaging Learning
tmiket
0
240
Transcript
早點下班的工具 Kytu @ CCSP 2012F
大綱 讓 CSS 寫得更快 – LESS、SCSS 讓 SITE 建立得更快 –
Bootstrap、Foundation 補充 – How to build a beautiful site
如何讓 CSS 寫得更快? 每天練寫一萬行 – 生命該浪費在美好的事物上 寫少行代表多行 – Compile into
CSS
Solution! LESS http://lesscss.org/ SCSS/SASS http://sass-lang.com/ Stylus http://learnboost.github.com/stylus/ 別擔心他們都差不多XD
None
LESS Compiler Nodejs module ( 最常用 ) https://npmjs.org/package/less-middleware Other server-side
compiler ( Such as Winless ) http://winless.org/ Client-side Compile ( use Javascript ) http://lesscss.org/ Less.js
Nodejs Module Usage 新建專案時 express -css less {專案名稱} 已有專案 npm
install less-middleware 在 app.configure 裡 app.use(require('less-middleware')({ src: __dirname + '/public' }));
Let’s Learn it online! (LESS) 官方 document http://lesscss.org/ Online LESS
Compiler ( 練習教學用) http://winless.org/online-less-compiler
How it works it Nodejs? 檢查是否更新,立即compile Live Demo
None
SCSS / SASS Compiler Compass.app http://compass.handlino.com/ Fire.app http://fireapp.handlino.com/ Ruby Gem
SCSS / SASS 官方 document http://sass-lang.com/ Try Sass Online (
練習用) http://sass-lang.com/try.html
None
Compass http://compass-style.org SCSS 的 library 提供 CSS3 Helper 及許多好工具 這過渡的年代(嘆
Sprite ─ 小圖示合成圖,減少request數 網路上 sprite online generator 也不少
Sass vs. LESS Which better? http://css-tricks.com/sass-vs-less/
練習 Compile LESS express -e -css less LESSTEST npm install
Copy https://gist.github.com/4221193 into index.ejs Download Bootstrap LESS source https://github.com/twitter/bootstrap Copy all file in less folder into /public/stylesheets
The similar concept in HTML Zen coding http://code.google.com/p/zen-coding/ Sublime text
2 安裝教學 http://fredchiu.wordpress.com/2011/12/14/install- zen-coding-plugin-for-sublime-text-2/ HAML (HTML abstraction markup language) http://haml.info/ HTML to HAML http://html2haml.heroku.com/
The similar concept in Javascript 用更高階的語言編譯成 Javascript CoffeeScript CoffeeScript is
a little language that compiles into JavaScript. http://coffeescript.org/ TypeScript 具有型別的 Javascript 超集合 http://www.typescriptlang.org/
None
如何讓 SITE 寫得更快? 現成漂亮的 UI Button、Navbar、Icon set 大量定義好的 JS component
Tooltip、Dropdown、Modal Grid System In old days, 960.gs、blueprint Responsive Design
Responsive Design Media Query Responsive Framework Bootstrap Foundation JQuery Mobile
Bootstrap 官方 document http://twitter.github.com/ Online Builder ( not so handy
actually… ) http://jetstrap.com
Bootstrap 其他工具 Font-Awesome http://fortawesome.github.com/Font-Awesome/ Bootswatch http://bootswatch.com/ 18 Useful Twitter Bootstrap
Goodies You Should Know http://www.queness.com/post/11632/18-useful- twitter-boostrap-goodies-you-should-know
快速起手 HTML5 ★ BOILERPLATE http://html5boilerplate.com/ Initializr http://www.initializr.com/
Modernizr 判斷瀏覽器支援性好工具! http://modernizr.com/
One More Thing How to build a beautiful site
Texture http://subtlepatterns.com/ Keywords (Google it!) Vintage, Retro, Fiber, Old paper,
Grunge, Leather, Metal, Silk, Wood, Bokeh, Noise … Kit, Bundle, Scraps
Icon http://www.iconarchive.com/ Icon is a design itself.
Detail The Devil is in the details Border-radius Shadow Border
line Gradient Font-size, Line-height, Font-face Padding, Margin
Gallery http://www.awwwards.com/ 詩經﹒小雅﹒鹿鳴: 「他山之石,可以攻錯。」
Design Trend http://webmarketingtoday.com/articles/10-web-design-trends-for-2012/ 滾動視差(Parallax Scrolling)、單頁設計 (SAP)、大圖設計、Infographics、自訂字形 等… 滾動視差範例 http://webdesignledger.com/inspiration/18-beautiful-examples-of-parallax- scrolling-in-web-design
Photoshop Photoshop、Illustrator You can learn it at http://thenewboston.org/ http://psd.tutsplus.com/ http://www.lynda.com/
(You know…)
下課 : ) Kytu @ CCSP 2012F