Dustin Tauer, Easel Solutions
e: Dustin@easelsolutions.com
t: @dtauer
**You don't need to have a server running
Dustin@easelsolutions.com
@dtauer
https://github.com/dtauer/hdc2014-rwd/
https://speakerdeck.com/bencallahan/build-responsively-2013-converge-fl-jacksonville-fl
http://m.espn.com
http://www.theverge.com/2014/9/2/6096609/welcome-to-verge-2-0
<!-- meta tag in head -->
<meta name="viewport" content="width=device-width;initial-scale=1.0;">
target / context = %
1000 / 1000 = 100%
600 / 1000 = 60%
400 / 1000 = 40%
http://rqrwd.com/
<!-- Text is easy -->
<p>This text will wrap based on the width of the container</p>
<!-- Images that aren't flexible -->
<img src="banner.jpg" width="800" height="200" />
<!-- percentage with will help -->
<img src="banner.jpg" width="100%" />
<!-- This is better -->
<style>
img{
max-width:100%;
}
</style>
<img src="banner.jpg" />
Conditionally Included Styles
<!-- In HTML -->
<link media="print" href="print.css">
<link media="screen and (max-width: 767px)" href="small.css">
<link media="screen and (min-width: 1024px)" href="large.css">
/* In CSS */
.content{
width: 600px;
}
.sidebar{
width: 400px;
}
@media screen and (max-width: 767px){
.content, .sidebar{
width: 100%;
}
}
http://responsiveimages.org/
Scalable Vector Graphics
<!-- In HTML -->
<svg width="100" height="100">
<circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
</svg>
<!-- in <img> -->
<img src="logo.svg" />
http://snapsvg.io/
Android SDK (http://bit.ly/IKeIqs)
On Devices
Adobe Edge Inspect
Live-Reload with Grunt & Yeoman
https://github.com/yeoman/generator-mobile
Use IP Address
http://nodejs.org/
http://nodeschool.io/**
**or check out my session tomorrow
https://github.com/dtauer/hdc2014-rwd