Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Mobile Web Design CODE @markodugonjic
Slide 2
Slide 2 text
HTML5 CSS3 JavaScript
Slide 3
Slide 3 text
HTML5
Slide 4
Slide 4 text
basic structure differences
Slide 5
Slide 5 text
Slide 6
Slide 6 text
video for mobile
Slide 7
Slide 7 text
Slide 8
Slide 8 text
Slide 9
Slide 9 text
clever input fields
Slide 10
Slide 10 text
Slide 11
Slide 11 text
Slide 12
Slide 12 text
Slide 13
Slide 13 text
Slide 14
Slide 14 text
Slide 15
Slide 15 text
Slide 16
Slide 16 text
http://wufoo.com/html5/ http://caniuse.com http://www.quirksmode.org/html5/ inputs_mobile.html http://mobilehtml5.org
Slide 17
Slide 17 text
CSS3
Slide 18
Slide 18 text
media queries
Slide 19
Slide 19 text
Slide 20
Slide 20 text
@media only screen and (min-width: 768px) { /* desktop styles */ }
Slide 21
Slide 21 text
(min-width: 321px) (max-width: 320px) (min-device-width: 320px) (max-device-width: 480px) (orientation: landscape) (orientation: portrait)
Slide 22
Slide 22 text
(-webkit-min-device-pixel-ratio: 2) (min-device-pixel-ratio: 2)
Slide 23
Slide 23 text
a couple of useful CSS properties
Slide 24
Slide 24 text
a couple of useful CSS properties useful
Slide 25
Slide 25 text
box-shadow: 0 2px 2px 0 rgba(0,0,0,.5), inset 0 -2px 2px 0 rgba(255,255,255,.5) linear-gradient(#fff, #000) border-radius: 10px/50px (+ height: 20px; width: 100px) text-shadow: 0 1px 0 rgba(0,0,0,.5)
Slide 26
Slide 26 text
-webkit-gradient( linear, 0% 0%, 0% 100%, from(#fff), to(#000) )
Slide 27
Slide 27 text
button { -webkit-appearance: none; }
Slide 28
Slide 28 text
@media screen and (-webkit-min-device-pixel-ratio: 2) { background: url(
[email protected]
); background-size: 10px 10px; }
Slide 29
Slide 29 text
keep an eye on UI performance
Slide 30
Slide 30 text
The responsive workflow #1 general typography #2 vertical rhythm #3 layout and proportions
Slide 31
Slide 31 text
JavaScript
Slide 32
Slide 32 text
keep it simple
Slide 33
Slide 33 text
confirm( 'This service will be charged XY.\ Do you accept?' ) alert( 'Your transaction was successful.' )
Slide 34
Slide 34 text
window.onload = function() { setTimeout(function(){ window.scrollTo(0, 1); }, 100); }
Slide 35
Slide 35 text
document.getElementById('nav').innerHTML = 'Home\ Work\ Clients\ Contact\ ';
Slide 36
Slide 36 text
Handy tools
Slide 37
Slide 37 text
http://www.zambetti.com/projects/liveview/
Slide 38
Slide 38 text
http://www.mozilla.org/en-US/mobile/ http://www.opera.com/developer/tools/mobile/
Slide 39
Slide 39 text
Back to Work! @markodugonjic