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
Make it Responsive! the logic, the code & trick...
Search
King Sidharth
February 23, 2013
Design
6
6.7k
Make it Responsive! the logic, the code & tricks of trade
A talk on Responsive Web Design (RWD) for WordPress Themes for WordCamp Pune 2013.
King Sidharth
February 23, 2013
Tweet
Share
More Decks by King Sidharth
See All by King Sidharth
Designing for Many Worlds
kingsidharth
0
200
Design Portfolio Masterclass
kingsidharth
0
450
History & Future of Money, Currency, & Capitalism
kingsidharth
0
190
Accountability for Personal Growth
kingsidharth
0
270
Don't be Biased
kingsidharth
0
390
Know Shit About Design @ Startup Saturday Mumbai
kingsidharth
0
800
A Crash Course in Typography — WordCamp Baroda 2014
kingsidharth
2
770
User Experience Design Lessons from Pornography
kingsidharth
0
880
What to do with your life - TEDxTirupati 2013
kingsidharth
2
640
Other Decks in Design
See All in Design
太田博三(@usagisan2020)
otanet
0
220
1年目のクリエイターがつくりあげた!採用冊子CANVAS制作の裏側 / creator-canvas
cyberagentdevelopers
PRO
1
510
[Designship2024] デザインの力でサービスの価値を追求していたら、組織全体をデザインしていた話
okakasoysauce
2
1.1k
もうひとつのアーキテクチャ #kichijojipm
kondoyuko
0
180
世界中のチームワークをどうデザインしているのか
ka3zu1ma10
0
280
発表資料テンプレート / My slide template
thatblue
0
200
シームレスな連携を実現するデザイントークンの設計と構築
amishiratori
0
490
富山デザイン勉強会_ワンランク上に見せるデザインのコツ.pdf
keita_yoshikawa
0
140
Masked shaman-Storyboard 2025
ashley0521
0
160
ネットワークセキュリティ科 学科紹介
sklbj_unz
0
160
横断組織デザイナーの働き方
mixi_design
PRO
0
330
HCDフォーラム2024 「HCDとHAI ~人間とAIが共存する世界の実現~」
kamechi7222222
0
280
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
Making Projects Easy
brettharned
116
6k
Designing for humans not robots
tammielis
250
25k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
20
2.4k
Facilitating Awesome Meetings
lara
51
6.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Gamification - CAS2011
davidbonilla
80
5.1k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
GraphQLとの向き合い方2022年版
quramy
44
13k
Transcript
Make it Responsive! the logic, the code & tricks of
trade A talk on Responsive Web Design (RWD) for WordPress Themes by King Sidharth for WordCamp Pune 2013
#WCPune2013 @kingsidharth Tweet Away!
What is Responsive Design? An approach aimed at crafting sites
to provide an optimal viewing experience across a wide range of devices.
That’s @mashable’s btw
Why Responsive Design?
None
Make it Responsive the Logic
K.I.S.S. Keep It Simple, Stupid! Keep only bare minimum and
leave out all the rest.
Desktop: 2-3 Columns Tablets: 1-2 Columns Mobile: 1 Columns Break
Points & Layouts think columns
Rethink Order of the Elements
None
Rethink Readability & Typography
None
Rethink Images
http://www.fuelyourcreativity.com
Make it Responsive the Code
CSS Crash Course <div class=”boy” id=”kingsidharth”></div> <div class=”boy” id=”aniket pant”></div>
<div class=”boy” ></div> <div class=”girl” id=”nisthadixit”></div>
<div class=”boy” id=”kingsidharth”></div> <div class=”boy” id=”aniket pant”></div> <div class=”boy” ></div>
<div class=”girl” id=”nisthadixit”></div> div { flirt: yes; } All Humans { are flirt } Elements
<div class=”boy” id=”kingsidharth”></div> <div class=”boy” id=”aniket pant”></div> <div class=”boy” ></div>
<div class=”girl” id=”nisthadixit”></div> .boy { flirt: yes; } All Boys { are flirt } Class
<div class=”boy” id=”kingsidharth”></div> <div class=”boy” id=”aniket pant”></div> <div class=”boy” ></div>
<div class=”girl” id=”nisthadixit”></div> #kingsidharth { flirt: yes; } King Sidharth { is a flirt } ID’s
@media queries @media all and (min-width:500px) { … } @media
(min-width:500px) { … } @media (orientation: portrait) { … } @media all and (orientation: portrait) { … } Remember Break Points?
View Port Setting
None
<meta name="viewport" content="width=device-width"> @-o-viewport { width: device-width; }
None
Use a CSS Framework Inuit.css Zurb Foundation Twitter Bootstrap To
avoid work, common bugs & cross browser compatibility issues.
Make it Responsive Tricks of the Trade
Navigation To Play Hide n’ Seek or Not
None
None
Thumb Rule: If it’s too long - hide it.
Kill Images on Mobile Coz it’s loading...
None
Thumb Rule: If they are not important - kill them.
Don’t Resize Test it for Real on Real Devices
Pornography for Developers Some ideas & problems to think about
Social Media Buttons They don’t work on mobiles and some
tablets
Responsive Design Options for Theme Backend Warning: Still in Experimental
Phase
‣ Hide / Show / Rearrange Sections ‣ Navigation Options
(Push-down or show-all) ‣ Define Break Points (Set Defaults for popular devices already) ‣ Lazy Load Images ‣ Kill Social Media Buttons and Fixed Elements Responsive Design Options for Theme Backend
Want to improve UX of your blog? My talk from
WordCamp Baroda: www.64notes.com/speaking/wcbrd-2013
King Sidharth Co-Founder Web Mutiny 19+2 Years Old Entrepreneur Designer
Artist Public Speaker www.64notes.com/speaking/wcpune-2013 www.64notes.com
[email protected]
@kingsidharth
Questions or Threats? Thank You!