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
[0503] 使用Sublime Text編輯HTML/CSS: Emmet + LiveStyle
Search
F2E桃園
May 03, 2014
Programming
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[0503] 使用Sublime Text編輯HTML/CSS: Emmet + LiveStyle
F2E桃園
May 03, 2014
More Decks by F2E桃園
See All by F2E桃園
一週完成英文學習網
f2e_taoyuan
1
210
Other Decks in Programming
See All in Programming
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
140
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
230
エンジニアにデザインハーネスを 〜デザインプロセスを規定するためのハーネス〜 / Design harness from an engineer's perspective
rkaga
2
1.7k
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
0
170
What's New in Android 2026
veronikapj
0
210
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
180
Built Our Own Background Agent at LayerX #aidevex_findy
layerx
PRO
9
3.5k
関数型プログラミングのメリットって何だろう?
wanko_it
0
200
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
680
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
200
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
120
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
240
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
180
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
360
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Writing Fast Ruby
sferik
630
63k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Transcript
Դ͜Sublime Textᇜ፨)5.-CSS: Emmet + LiveStyle ymcheung
About ymcheung - 中央大學企管系/元智大學資訊傳播碩士班 - 從高中開始自學網頁設計 - 從當兵開始做平面設計 - ymcheung.org/bookmark
前端設計相關的文章翻譯
Share Something
Recent Works (Visual) Taoyuan County Government Campaigns Poster/Flyer & Invitation
! Double-side business card
Currently learning - Sass (with Fire.app) - jQuery @Codeschool.com -
Sketch.app
Personal Reading List - Behance (Branding, Web Design) - Zite
(CSS, jQuery, Web, Wordpress) - Dribbble (Popular) - Pinterest (Print Design) - Kickstarter - Flipboard (UI Design) - Feedly/RSS (Codrops, Co.Design, Beautiful Pixels…)
Sublime Text + Livestyle
Sublime Text/Setup - Package Control(搜尋:sublime package control) https://sublime.wbond.net/installation - 按ctrl
+ ` 或 View > Show Console - import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http:// sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
Emmet Installation - Sublime Text 2 > Preference >
Package Control > Package Control: Install Packages - Emmet
Emmet Documentation - http://docs.emmet.io/
Emmet: Basic html:5 ! > 巢狀結構(child) header>div>p + 依序排列(sibling) header+div+div+footer
綜合 header>div+div+p 群組 div>(header>div+p)*2+p tab
Emmet: Basic - HTML with id, class & attributes
div#heading div.menu img[title=“Main Logo”] - 乘法 Multiplication & 序號 Numbering ul>li*5 ul>li.menu$*5 ul>li.menu$$$*5 - More at: http://docs.emmet.io/
Emmet: CSS Abbreviations - m: margin:; - pl padding-left; -
ov:h overflow: hidden; - bgc:#1 background-color:#111111; - m10ex20p! margin: 10ex 20% !important; - -bdrs --webkit-border-radius:; -moz-border-radius:; border-radius:;
Emmet: Hotkeys - command + d <p>Lorem ipsum dolor sit
amet.</p> - command + b -webkit-transform: rotate(45deg); -moz-transform: rotate(50deg); -ms-transform: rotate(50deg); -o-transform: rotate(50deg); transform: rotate(50deg);
Emmet: Hotkeys - ctrl + w
<p>Hello world</p> div.article1>h1 <div class=“article1”> <h1> <p>Hello world</p> </h1> </div> Sale item1 Sale item2 Sale item3 Sale item4 Sale item5 div.navi>ul>li.a$$* <div class="navi"> <ul> <li class="a01">Sale item1</li> <li class="a02">Sale item2</li> <li class="a03">Sale item3</li> <li class="a04">Sale item4</li> <li class="a05">Sale item5</li> </ul> </div>
Emmet LiveStyle: Installation - http://livestyle.emmet.io (搜尋:emmet livestyle) - Package Control:
Install Packages livestyle - 安裝 Chrome擴充功能 在Chrome Web Store 搜尋:Emmet livestyle
Emmet LiveStyle: Demonstration https://www.youtube.com/watch?v=iQLhGbkupS4
Emmet LiveStyle: Key Function - Live and bi-directional CSS
style editing - Temporarily tweaking any websites - Simultaneously testing responsive web design - iOS Safari live preview - CSS Pre-processor support (SASS)
Discussion/Feedback