Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[0503] 使用Sublime Text編輯HTML/CSS: Emmet + LiveStyle
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
220
Other Decks in Programming
See All in Programming
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
150
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
Intent as Code
shoppingjaws
6
1k
XHTMLが残したもの
yosuke_furukawa
PRO
2
810
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
170
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
700
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
290
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
180
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
500
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
120
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
510
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
230
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
Agile that works and the tools we love
rasmusluckow
331
22k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Leo the Paperboy
mayatellez
10
2.3k
GitHub's CSS Performance
jonrohan
1033
470k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
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