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
Responsive Web
Search
Giorgi Jibladze
April 25, 2014
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Responsive Web
Tech talk about responsive web layouts.
Giorgi Jibladze
April 25, 2014
Transcript
19 slides
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!
More Decks by Giorgi Jibladze
See All by Giorgi Jibladze
Collective Intelligence
jibla
0
140
nosql
jibla
0
410
Other Decks in Technology
See All in Technology
お風呂場をサーバルームにしよう
yusuke427
0
280
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
2
140
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
390
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
200
小さなエージェントから始めてみよう!実践コンテキストエンジニアリング
iwamot
PRO
0
130
CloudTrail を推したい
kazzpapa3
0
110
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
160
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
310
LLM 基盤と kagent v0 を全部 k8s に入れてみた / Deploy both LLM and kagent v0 in k8s
kota2and3kan
0
230
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
2
140
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.9k
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
370
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
830
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Code Reviewing Like a Champion
maltzj
529
40k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
Unsuck your backbone
ammeep
672
58k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
WCS-LA-2024
lcolladotor
0
1k
Technical Leadership for Architectural Decision Making
baasie
4
650