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
Designing Evolution: Elements
Search
Dan Donald
June 27, 2014
Technology
2
220
Designing Evolution: Elements
Talk for Responsive Day Out 2 in Brighton, June 2014
Dan Donald
June 27, 2014
Tweet
Share
More Decks by Dan Donald
See All by Dan Donald
Adding the foundations after the house has been built: Design systems at Auto Trader
hereinthehive
0
110
Designing Evolution
hereinthehive
0
180
Reactive Web Design
hereinthehive
1
770
Designing for Context: Reactive Web Design
hereinthehive
2
790
Other Decks in Technology
See All in Technology
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
210
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
GCASアップデート(202510-202601)
techniczna
0
250
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
430
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
120
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
100
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
1
290
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
270
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
140
Featured
See All Featured
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
Unsuck your backbone
ammeep
671
58k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
320
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
Paper Plane
katiecoart
PRO
0
46k
Building an army of robots
kneath
306
46k
Transcript
Designing Evolution: Elements Dan Donald @hereinthehive Monday, 30 June 14
Monday, 30 June 14
What does it mean to be flexible? http://mrsnespysworld.blogspot.co.uk/2010/07/8-uses-for-rubber-band.html Monday, 30
June 14
Responsive web design is a recipe for managing and constraining
the innate fluidity of the web. Monday, 30 June 14
Open to interpretation Monday, 30 June 14
Nature of breakpoints Monday, 30 June 14
Nature of breakpoints Device or content-oriented breakpoints? Monday, 30 June
14
Device agnostic http://pivotallabs.com/an-introduction-to-qa-at-xtreme-labs/ Monday, 30 June 14
Universality Monday, 30 June 14
What do we know? Monday, 30 June 14
What do we know? Mozilla/5.0 (Macintosh; Intel Mac OS X
10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 http://wurfl.io Monday, 30 June 14
When do we know it? Monday, 30 June 14
What capabilities help us make good decisions? Monday, 30 June
14
Modularity http://sunrise-theme.myshopify.com/products/giant-lego-bricks Monday, 30 June 14
Atomic design http://patternlab.io @brad_frost Monday, 30 June 14
Monday, 30 June 14
Element queries? Media query Element query Monday, 30 June 14
What can my parent / containing element do? Monday, 30
June 14
• write normal CSS • minimal JS to calculate •
use minimum values & ranges Go & follow @itsaljones! Spike work Monday, 30 June 14
CSS ‘Trigger Points’ [data-width~="20em"] [data-width~="30-40em"] Monday, 30 June 14
Runs on load, resize & orientation change Measures the parent
of modules flagged to watch (could be the module itself) Javascript Monday, 30 June 14
Uses a regex to scrape the CSS for fuzzy selectors
Adds ‘data-triggers’ to our mark-up Build Monday, 30 June 14
<div class="column-2" data-width="18em 24em 32em"> <div class="headlines" data-triggers="18,24,32,40-50"> automated build
process javascript Monday, 30 June 14
[data-width~="32em"] .headlines { float:right; width:32%; } Monday, 30 June 14
.headlines[data-width~="32em"] { float:right; width:32%; } .headlines.w32em { float:right; width:32%; }
Size of container or module? Monday, 30 June 14
Monday, 30 June 14
/** * Trigger Points **/ [data-width~="10em"] .mod_colours { background-color: red
} [data-width~="20em"] .mod_colours { background-color: yellow } [data-width~="30em"] .mod_colours { background-color: pink } [data-width~="40em"] .mod_colours { background-color: lightgreen } [data-width~="50em"] .mod_colours { background-color: purple } [data-width~="60em"] .mod_colours { background-color: orange } [data-width~="70em"] .mod_colours { background-color: blue } Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Start with the most primitive form Monday, 30 June 14
How could the layout of a module evolve? Monday, 30
June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
Monday, 30 June 14
• what are you trying to say? • would capabilities
change this? • need more assets? • communication is everything Monday, 30 June 14
When do we look to the parent or the viewport?
Monday, 30 June 14
@media all and (min-width: 30em) { [data-width~="32em"] .headlines { float:right;
width:32%; } } Monday, 30 June 14
Progressive enhancement Monday, 30 June 14
? So what’s interesting about element queries? Monday, 30 June
14
Positives http://uxrepo.com/icon/thumbs-up-by-font-awesome Monday, 30 June 14
Negatives http://uxrepo.com/icon/thumbs-down-by-font-awesome Monday, 30 June 14
Should we use them now? Monday, 30 June 14
We need to let go. Create ecosystems not pages. Monday,
30 June 14
As creators on the web, we shape the future of
the web Monday, 30 June 14
Thanks @hereinthehive @fluxflexibility kippt.com/hereinthehive/ element-query-resources Monday, 30 June 14