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
Django Girls 2015 - CSS
Search
Randy Lien
May 30, 2015
Programming
130
1
Share
Django Girls 2015 - CSS
Django Girls Taipei 2015 training material
Randy Lien
May 30, 2015
More Decks by Randy Lien
See All by Randy Lien
The ideas of Clojure - Things I learn from Clojure
randylien
0
190
Django Girls 2015 - HTML
randylien
1
180
React.JS Conf & f8
randylien
1
220
Immutable, Performance and Component Communication
randylien
0
120
Introduce Flux & React in KKBOX
randylien
6
440
What is the next step for a front end beginner
randylien
1
96
Understand front end developer
randylien
2
210
Introduce Flux & React in practice
randylien
8
460
UI Engineering Introduction
randylien
0
60
Other Decks in Programming
See All in Programming
安いハードウェアでVulkan
fadis
1
930
存在論的プログラミング: 時間と存在を記述する
koriym
5
830
まかせられるPM・まかせられないPM / DevTech GUILD Meetup
yusukemukoyama
0
110
Feature Toggle は捨てやすく使おう
gennei
0
440
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
540
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
220
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
iOS機能開発のAI環境と起きた変化
ryunakayama
0
170
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
110
Java 21/25 Virtual Threads 소개
debop
0
340
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
150
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
200
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
24k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.4k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Ruling the World: When Life Gets Gamed
codingconduct
0
190
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
The SEO identity crisis: Don't let AI make you average
varn
0
440
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Tell your own story through comics
letsgokoyo
1
890
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
500
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Transcript
Django Girls 2015 CSS Randy Lien
Cascading Style Sheets
CSS 不知道中⽂文怎麼翻譯
CSS 視覺呈現
None
認識 CSS 原理 .header { font-size: 12px; } Selector Property
Value Declaration Rule
CSS 常⾒見的選擇器 • 標籤選擇器 (Tag name selector) • 類別名稱選擇器 (Class
name selector) <h1>網站名稱</h1> h1 { font-size: 36px; } <h2 class='article-title'>⽂文章標題</h2> .article-title { font-size: 16px; }
CSS 常⽤用的屬性 • color • background-color • background-image • border
• height, width
CSS 屬性 - color • 常⾒見使⽤用的數值類型 RGB(A) ⾊色碼,16 進位⾊色碼,顏⾊色名稱 color:
rgb(154, 205, 50); color: rgba(240, 255, 240, 0.75); color: #9acd32; color: yellowgreen;
CSS 屬性 - background-color • 常⾒見使⽤用的數值類型 RGB(A) ⾊色碼,16 進位⾊色碼,顏⾊色名稱, transparent
background-color: rgb(154, 205, 50); background-color: rgba(240, 255, 240, 0.75); background-color: #9acd32; background-color: yellowgreen;
CSS 屬性 - background-image • 會出現在 background-color 上⽅方 常⾒見使⽤用的數值類型為 URI
網址,none background-image: url(https:// djangogirls.s3.amazonaws.com/event/ backgrounds/IMG_4689.jpg); background-image: none;
CSS 屬性 - border-* p { border-width: 10px; border-style: solid;
//dotted, dashed, inset, outset border-color: white; background-color: rgb(16, 59, 120); border-radius: 30px; }
CSS 屬性 - height, width p { height: 290px; width:
505px; }
更多關於 CSS 的網站 • https://developer.mozilla.org/en-US/docs/Web/ Guide/CSS/Getting_started
fin