Upgrade to Pro — share decks privately, control downloads, hide ads and more …

VT22 - Responsive web design

VT22 - Responsive web design

Anton Tibblin

April 11, 2022
Tweet

More Decks by Anton Tibblin

Other Decks in Education

Transcript

  1. Dagens Agenda • HTML & CSS: Skapa layout • CSS

    Flexbox • CSS Grid • Responsiv webbdesign • Designa för olika enheter • Dator • Surfplatta • Mobiltelefon • CSS Breakpoints • CSS (och JS) Ramverk • Bootstrap • Layout • Komponenter • + Andra ramverk
  2. Vad är flexbox? • Ett sätt att positionera ut element

    på en webbsida • Ett alternativ till att använda t.ex. float för att bygga layouter • Flexbox utgår från att positionerna ut barn-element i en ”container” på olika sätt.
  3. 6. Vi använder mer och mer olika enheter, för att

    utföra, eller fortsätta utföra en uppgift
  4. Vad krävs för att bli responsiv? 1. En flexibel, ”grid”-baserad

    layout (boxar…) 2. Flexibla bilder, media, och 3. Media queries
  5. http://alistapart.com/article/dao The web’s greatest strength, I believe, is often seen

    as a limitation, as a defect. It is the nature of the web to be flexible, and it should be our role as designers and developers to embrace this flexibility, and produce pages which, by being flexible, are accessible to all. —John Allsopp, 2000