designing for the web
play

Designing for the web Review HTML/CSS The head is where you put - PowerPoint PPT Presentation

Design & Presentation Designing for the web Review HTML/CSS The head is where you put information about your HTML le, like its title. (Stu that won't appear on the page.) The body is where you put your content, such as text, images,


  1. Design & Presentation Designing for the web

  2. Review HTML/CSS

  3. The head is where you put information about your HTML �le, like its title. (Stu� that won't appear on the page.) The body is where you put your content, such as text, images, and links. (For human eyes!)

  4. HTML: Basic structure • Elements • Tags • Attributes

  5. Element

  6. Tag

  7. Attribute

  8. Elements nest inside one another

  9. How to add an image

  10. Image attributes • src • alt • width • height

  11. C ascading S tyle S heets

  12. Styles can be inline

  13. This text is pink.

  14. Styles can be written in the HTML header

  15. This text is also pink.

  16. Or in an external stylesheet

  17. This text is still pink.

  18. Selectors: • id • class • element: div, a, span • element state: a:active, a:hover, a:visited

  19. The basics: What you can control with CSS • text styles • "the box model" • positioning & display • and more!

  20. Text styles • color • font-family • font-size • font-weight • text-align • text-decoration

  21. "The box model" • width • height • border • margin • padding

  22. Positioning & display • position • display • �oat

  23. Other • list-style-type • cursor • border radius • & much more!

  24. Let's talk about … Head & body details

  25. Header tags

  26. This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6

  27. Tip Whitespace is your friend!

  28. This doesn't look so great Flop over scratch the box put toy mouse in food bowl run out of litter box at full speed stick butt in face, or attack dog, run away and pretend to be victim purr while eating. Play time hiss at vacuum cleaner white cat sleeps on a black shirt and eat grass, throw it back up.

  29. Much better! Flop over scratch the box put toy mouse in food bowl run out of litter box at full speed stick butt in face, or attack dog, run away and pretend to be victim purr while eating. Play time hiss at vacuum cleaner white cat sleeps on a black shirt and eat grass, throw it back up. Immediately regret falling into bathtub under the bed lay on arms while you're using the keyboard and lick the other cats sun bathe. Kitty power!

  30. Float a pullquote too Flop over scratch the box put toy mouse in food bowl run out of litter box at full speed stick butt in face, or attack dog, run away and pretend to be victim purr while eating. Play time hiss at "Meow meow vacuum cleaner white meow (I am a cat sleeps on a black pullquote)" shirt and eat grass, throw it back up. Immediately regret falling into bathtub under the bed lay on arms while you're using the keyboard and lick the other cats sun bathe. Kitty power!

  31. BREAK!

  32. Via Fast Company

  33. Tip Use percent, not pixels

  34. Via Fast Company

  35. Tip Max-width is here to help

  36. Via Fast Company

  37. Tip Breakpoints for better layouts

  38. Via Fast Company

  39. Ex 1. Freeze frames Ex 2. Because Scott Walker Asked

  40. http://bit.ly/media-query-zip

  41. Let's open our inspector!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend