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
CSS_Flex_基礎_.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
darrenyaoyaoyao
October 26, 2020
Programming
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSS_Flex_基礎_.pdf
darrenyaoyaoyao
October 26, 2020
More Decks by darrenyaoyaoyao
See All by darrenyaoyaoyao
HTML__CSS_基礎二.pdf
darrenyaoyaoyao
0
78
Pug.pdf
darrenyaoyaoyao
0
96
Sass.pdf
darrenyaoyaoyao
0
79
jquery.pdf
darrenyaoyaoyao
1
110
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
0
80
bootstrap.pdf
darrenyaoyaoyao
1
95
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
100
Javascript_基礎二.pdf
darrenyaoyaoyao
0
150
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
79
Other Decks in Programming
See All in Programming
LLM 101
dalinaum
0
350
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
170
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
6k
Performance Optimization With LLMs
xleitix
0
230
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
440
Event is what happens
moro
2
2.1k
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
220
GraphQL の onError と Nullability のこれから
quramy
0
200
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
290
No More NoSuchMethodError
exoego
1
120
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
130
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
620
Abbi's Birthday
coloredviolet
4
11k
Odyssey Design
rkendrick25
PRO
2
900
The Language of Interfaces
destraynor
162
27k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
590
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
660
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Done Done
chrislema
187
17k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
620
Transcript
CSS Flex 盒⼦模型 基礎⼀ 排版進階練習
在 slidepin.cc 儲存這份投影片
今⽇⽬標 https://darrenyaoyao.github.io/
https://darrenyaoyao.github.io/
Flex Flex 是⼀套排版系統 display: flex
Flex-direction column row
Flex 比例 flex: 1 flex: 3
Flex 比例 flex: 1 flex: 3
align-items
position: fixed 固定位置
Overscroll 超出範圍,滑動屬性
Icon Icon 使⽤ <link rel="stylesheet" href=“https:// fonts.googleapis.com/icon? family=Material+Icons">
justify-content
練習⼀ 將左邊的 Youtube menu 還原
flex-wrap
flex flex 其實是 flex: flex-grow flex-shrink flex-basis
flex-grow 元件的伸展性,是⼀個數值,當空間分配還有剩餘時的 當前元件的伸展性,預設值為,如果設置為 0 則不會 縮放。
flex-shrink 元件的收縮性: 元件的伸展性,是⼀個數值,當空間分 配還不⾜時的當前元件的收縮性,預設值為 0 ,如果設 置為 0 則不會縮放。
flex-basis 元件的基準值,可使⽤不同的單位值。
flex flex : 1 其實是指 flex-grow : 1