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
Responsive Web
Search
Giorgi Jibladze
April 25, 2014
Technology
0
92
Responsive Web
Tech talk about responsive web layouts.
Giorgi Jibladze
April 25, 2014
Tweet
Share
More Decks by Giorgi Jibladze
See All by Giorgi Jibladze
Collective Intelligence
jibla
0
130
nosql
jibla
0
380
Other Decks in Technology
See All in Technology
プレビュー版のDevOpsエージェントを現段階で触ってみた
ad_motsu
1
140
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
310
AIが実装する時代、人間は仕様と検証を設計する
gotalab555
3
790
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
240
配列に見る bash と zsh の違い
kazzpapa3
3
180
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
0
400
Greatest Disaster Hits in Web Performance
guaca
0
320
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
370
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
210
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
Cloud Runでコロプラが挑む 生成AI×ゲーム『神魔狩りのツクヨミ』の裏側
colopl
0
190
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
360
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.2k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
840
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Automating Front-end Workflow
addyosmani
1371
200k
The Limits of Empathy - UXLibs8
cassininazir
1
220
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
Transcript
Responsive Web Giorgi Jibladze 2014
whoami Lecturer @ Caucasus School of Technology Twitter: http://twitter.com/jibla Github:
http://github.com/jibla Giorgi Jibladze www.omedia.ge
Responsive website A website that responds to the device
that accesses it and delivers the appropriate output for it.
2007 iPhone
2010 iPad
None
• CSS media queries • Flexible fonts • Flexible grids
media queries <link rel="stylesheet" type="text/css" href="main.css" media="screen" />! <link rel="stylesheet"
type="text/css" href="print.css" media="print" />
media queries <link rel="stylesheet" type="text/css"! media="screen and (max-device-width: 480px)"! href="iphone.css"
/>
media queries @media screen and (max-device-width: 480px) {! .sidebar {!
float: left;! }! }
“magic” formula target ÷ context = result
Fonts
Fonts h1 {! font-size: 24px;! font-style: italic;! font-weight: normal;! }!
! ! 24 ÷ 16 = 1.5 ! h1 {! font-size: 1.5em;! font-style: italic;! font-weight: normal;! }
Fonts 11 ÷ 24 = 0.458333333333333 ! ! h1
a {! font-size: 0.458333333333333em;! color: #747474;! text-transform: uppercase;! }
Grid 900px 566px 331px
Grid #page {! margin: 20px auto;! width: 90%;! /* max-width:
900px: */! }! ! #main-content {! float: left;! width: 62.8888889%; /* 566px / 900px */! }! ! #sidebar {! float: right;! width: 36.7777778%; /* 331px / 900px */! }
paddings & margins #main-content {! padding: 0 8.480565371025%; /* 48px
/ 566px */! margin: 0 5.33333333%; /* 48px / 900px */! }
Conclusion • More natural • One codebase for EVERYTHING •
One URL - One output but, not always good..
Thank you!