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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
BoBoChen
March 16, 2015
Design
0
360
基礎切版技巧
針對CSS初學者的基礎功能概述課程
BoBoChen
March 16, 2015
Tweet
Share
Other Decks in Design
See All in Design
大きな変化の中で、わたしが向き合ったこと #もがく中堅デザイナー
bengo4com
1
1.4k
「デザイン」の自分ごと化から始める、デザインピープルのふるまい
mewmo
PRO
0
160
Ralph Penel Portfolio
ralphpenel
0
260
Correspondence:共に生成していく過程
akiramotomura
0
190
デザイナーがAIを使い倒して爆速プロダクト開発!社内ハッカソンでの取り組み紹介
abokadotyann
9
3k
ユーザー体験は細部に宿る -ウィジェットQAの挑戦と気づき- / UX is in the details: Challenges and Learnings from Widget QA
bitkey
PRO
0
150
TWCP#21 UXデザインと哲学のはなし
shinn
0
270
自分たちがターゲットになりにくい業務アプリケーションのユーザビリティを担保する取り組み / Initiatives to ensure the usability of business applications that are difficult for us to target
hiromitsuuuuu
1
1.3k
2026年の勢い / Momentum for 2026
bebe
0
350
AIネイティブスタートアップにおけるプロダクト開発の新常識 / Product Development Tips in AI-Native Startups
saka2jp
2
950
hicard_credential_202601
hicard
0
160
OJTで学んだ 「心を動かす」ファシリテーション
saki822
1
240
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
57
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
200
Un-Boring Meetings
codingconduct
0
200
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Design in an AI World
tapps
0
150
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
Believing is Seeing
oripsolob
1
58
The Limits of Empathy - UXLibs8
cassininazir
1
220
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Transcript
主講 / BoBo
課程大綱 一、CSS 套用方式 二、CSS 區塊特性 三、CSS 的繼承&權重 四、常用的語法 五、最常發生的問題 六、基礎切版實作
一、CSS套用方式 1.行內套用 例: <p style="font-size:16;">This is font size 16.</p>
一、CSS套用方式 2.崁入套用 例: <style type="text/css"> div { background-color:#FF0000; } </style>
一、CSS套用方式 3.外部連結套用 例: <link rel=stylesheet type="text/css" href=“index.css">
一、CSS套用方式 4.匯入套用 例: <STYLE TYPE="text/css"> <!-- @import url(http://www.mysite.com/style.css); --> </STYLE>
二、CSS區塊特性 1.區塊級容器 例:div,p,ul,li,dl,dt,dd…..
二、CSS區塊特性 2.非區塊級容器 例:span,a,font……
二、CSS區塊特性 3. 區塊&非區塊的特性比較 非區塊容器 區塊容器 寬度 依內容變動 100% 高度 依內容變動
依內容變動 區塊自動換行 不換行 強制換行 邊距(margin) 只有左右正常 可正常使用 間距(padding) 當區塊直接最外層時, 上方留白會無法顯示 可正常使用
三、CSS的繼承&權重 1.繼承的特性 例: .txt_cor{ color:#000} <div class="txt_cor"> <span>黑色的字</span> 同樣是黑色的字 </div>
三、CSS的繼承&權重 2.權重的特性 例: .txt_cor{ color:#000} #name{color:#fff} <div id="name" class="txt_cor"> <span>白色的字</span>
同樣是白色的字 </div>
四、常用的語法 1. 改變容器區塊特性 Display 2. 連結相關指令 a 3. 邊距 margin
4. 間距 padding 5. 浮動 float 6. 文字 font text 7. 顏色 color background 8. 定位 position 9. 邊框 border
四、常用的語法 10.進階版CSS略述 a. CSS選擇器 b. 圖片置中 c. 文字裁減 d. CSS的Framework
e. CSS3的裝飾用語法(IE8不支援)
五、最常發生的問題 1. 背景圖消失 2. 浮動&清除 3. z-index 4. 簡易偵測跑版問題的方法
六、基礎切版實作 http://www.studio-yoggy.com/