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 Design - Polopoly GeekNight Blixttal
Search
Henrik Ekelöf
November 23, 2011
Programming
2
410
Responsive Design - Polopoly GeekNight Blixttal
Henrik Ekelöf
November 23, 2011
Tweet
Share
Other Decks in Programming
See All in Programming
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
840
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
180
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
310
CSC305 Lecture 03
javiergs
PRO
0
240
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
4k
What's new in Spring Modulith?
olivergierke
1
150
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
170
CSC509 Lecture 05
javiergs
PRO
0
300
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
510
株式会社 Sun terras カンパニーデック
sunterras
0
300
私はどうやって技術力を上げたのか
yusukebe
43
18k
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
140
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Practical Orchestrator
shlominoach
190
11k
KATA
mclloyd
32
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
We Have a Design System, Now What?
morganepeng
53
7.8k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Rails Girls Zürich Keynote
gr2m
95
14k
The Cost Of JavaScript in 2023
addyosmani
54
9k
Transcript
Bild: Kevin Cornell Lånad från: http://www.alistapart.com/articles/responsive-web-design/
Henrik Ekelöf Gränssnittsutvecklare på Valtech
Responsive Design
— ett nytt häftigt sätt att bygga mobilwebb Vad det
inte är:
Faktum är:
Det finns ingen mobilwebb.
Det finns inte en specifik webb för mobila enheter. Allt
är samma webb.
640 x 480 800 x 600 1024 x 768
None
1024 x 768
1024 x 768 320 x 480
None
1024 x 768 320 x 480
1024 x 768 320 x 480 768 x 1024
Flexibla bilder Flexibel grid Media queries Responsive Design
None
None
/* Här ovanför finns grundstyle - färger, fonter etc */
article { float: right; width: 70%; } aside { float: right; width: 30%; }
article { float: right; width: 70%; } aside { float:
right; width: 30%; } @media all and (max-width: 768px) { article, aside { float: none; width: 100%; } }
None
article { float: right; width: 70%; } aside { float:
right; width: 30%; } @media all and (max-width: 768px) { article, aside { float: none; width: 100%; } }
None
None
/* Här ovanför finns grundstyle - färger, fonter etc */
@media all and (min-width: 768px) { article { float: right; width: 70%; } aside { float: right; width: 30%; } }
‣ Optimera inte webbplatser för specifika typer av enheter (varken
små eller stora) ‣ Responsive Design är det sätt vi kommer bygga webb på den närmaste framtiden ‣ Jobba alltid nerifrån och upp med CSS
Tack! Henrik Ekelöf, Valtech @henrikekelof