SlideShare a Scribd company logo
1 of 23
Download to read offline
3.1 Introductie Flexbox
HTML module 33.1 Intro Flexbox
Lesdoel!
Starten met flexbox
HTML module 33.1 Intro Flexbox
Flexbox
HTML module 33.1 Intro Flexbox
CSS Flexible Box Layout, beter bekend als
Flexbox, is een CSS3-weblay-outmodel die
het makkelijker maakt om responsive te
stijlen.
HTML module 33.1 Intro Flexbox
Hoe werkt Flexbox
property
Display: flex
Parent
=
Flex Container
Childeren
=
Flex Items
flex-flow
justify-content
align-content
align-items
HTML module 33.1 Intro Flexbox
Childeren
=
Flex Items
property
order:
flex:
align-self
direction:
HTML module 33.1 Intro Flexbox
Flex-container maken!
HTML module 33.1 Intro Flexbox
Flex toevoegen aan css
HTML module 33.1 Intro Flexbox
Opdracht
Maak een webpagina met 6 blokken van
100px bij 100px met allemaal een andere
achtergrond kleur. Gebruik flex om de blokken
naast elkaar te laten verschijnen op het scherm
We nemen hier max 15 minuten de tijd voor!
HTML module 33.1 Intro Flexbox
Uitwerking opdracht
HTML module 33.1 Intro Flexbox
Uitwerking opdracht
HTML module 33.1 Intro Flexbox
Flexdirection Row
flex-direction:
row
row-reverse
HTML module 33.1 Intro Flexbox
Opdracht
Pas de webpagina van de opdracht aan en maak
er 2 row’s van 1 normaal en 1 reverse
We nemen hier max 10 minuten de tijd voor!
HTML module 33.1 Intro Flexbox
Flexdirection Column
flex-direction:
column Column-reverse
HTML module 33.1 Intro Flexbox
Responsive !
HTML module 33.1 Intro Flexbox
I.p.v. display: flex; gebruik je in dit geval
display: block; daarnaast maak de ul 90vw;
HTML module 33.1 Intro Flexbox
We gebruiken
nu wel
display:
flex; en de
li wordt
berekend
d.m.v. calc().
HTML module 33.1 Intro Flexbox
Opdracht
Pas de webpagina van de opdracht aan en maak
deze responsive dus klein scherm onder elkaar
groot scherm naast elkaar.
We nemen hier max 10 minuten de tijd voor!
HTML module 33.1 Intro Flexbox
Breedte flex child-element
door flex laten bepalen.
flex:
1 t/m …..
HTML module 33.1 Intro Flexbox
Flex: 1 t/m …..
We vervangen de width: door flex: 1;
Flexbox bepaalt nu automatisch de breedte
HTML module 33.1 Intro Flexbox
Flex: verschillende breedtes
Flexbox berekent zelf het geheel door 7 en bepaalt de breedte
d.m.v. het getal achter flex:
HTML module 33.1 Intro Flexbox
Opdracht
Pas de webpagina van de opdracht aan en maak
ongelijke vakken d.m.v. flex: !
Zodra je gereed bent kun je met het huiswerk
beginnen.
Huiswerk opdracht !
HTML module 33.1 Intro Flexbox
Maak met behulp van flex vanuit deze les de wireframe
van de volgende pagina.
Lever het geheel als zip/rar bestand in bij de opdracht
van deze les in teams.
Doe dit voor het begin van de volgende les en voorkom
minpunten aan het eind van deze module.
Plus oefenen baart kunst.
wireframe opdracht !
HTML module 33.1 Intro Flexbox

More Related Content

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

3.1 intro flexbox

  • 1. 3.1 Introductie Flexbox HTML module 33.1 Intro Flexbox
  • 2. Lesdoel! Starten met flexbox HTML module 33.1 Intro Flexbox
  • 3. Flexbox HTML module 33.1 Intro Flexbox CSS Flexible Box Layout, beter bekend als Flexbox, is een CSS3-weblay-outmodel die het makkelijker maakt om responsive te stijlen.
  • 4. HTML module 33.1 Intro Flexbox Hoe werkt Flexbox property Display: flex Parent = Flex Container Childeren = Flex Items flex-flow justify-content align-content align-items
  • 5. HTML module 33.1 Intro Flexbox Childeren = Flex Items property order: flex: align-self direction:
  • 6. HTML module 33.1 Intro Flexbox Flex-container maken!
  • 7. HTML module 33.1 Intro Flexbox Flex toevoegen aan css
  • 8. HTML module 33.1 Intro Flexbox Opdracht Maak een webpagina met 6 blokken van 100px bij 100px met allemaal een andere achtergrond kleur. Gebruik flex om de blokken naast elkaar te laten verschijnen op het scherm We nemen hier max 15 minuten de tijd voor!
  • 9. HTML module 33.1 Intro Flexbox Uitwerking opdracht
  • 10. HTML module 33.1 Intro Flexbox Uitwerking opdracht
  • 11. HTML module 33.1 Intro Flexbox Flexdirection Row flex-direction: row row-reverse
  • 12. HTML module 33.1 Intro Flexbox Opdracht Pas de webpagina van de opdracht aan en maak er 2 row’s van 1 normaal en 1 reverse We nemen hier max 10 minuten de tijd voor!
  • 13. HTML module 33.1 Intro Flexbox Flexdirection Column flex-direction: column Column-reverse
  • 14. HTML module 33.1 Intro Flexbox Responsive !
  • 15. HTML module 33.1 Intro Flexbox I.p.v. display: flex; gebruik je in dit geval display: block; daarnaast maak de ul 90vw;
  • 16. HTML module 33.1 Intro Flexbox We gebruiken nu wel display: flex; en de li wordt berekend d.m.v. calc().
  • 17. HTML module 33.1 Intro Flexbox Opdracht Pas de webpagina van de opdracht aan en maak deze responsive dus klein scherm onder elkaar groot scherm naast elkaar. We nemen hier max 10 minuten de tijd voor!
  • 18. HTML module 33.1 Intro Flexbox Breedte flex child-element door flex laten bepalen. flex: 1 t/m …..
  • 19. HTML module 33.1 Intro Flexbox Flex: 1 t/m ….. We vervangen de width: door flex: 1; Flexbox bepaalt nu automatisch de breedte
  • 20. HTML module 33.1 Intro Flexbox Flex: verschillende breedtes Flexbox berekent zelf het geheel door 7 en bepaalt de breedte d.m.v. het getal achter flex:
  • 21. HTML module 33.1 Intro Flexbox Opdracht Pas de webpagina van de opdracht aan en maak ongelijke vakken d.m.v. flex: ! Zodra je gereed bent kun je met het huiswerk beginnen.
  • 22. Huiswerk opdracht ! HTML module 33.1 Intro Flexbox Maak met behulp van flex vanuit deze les de wireframe van de volgende pagina. Lever het geheel als zip/rar bestand in bij de opdracht van deze les in teams. Doe dit voor het begin van de volgende les en voorkom minpunten aan het eind van deze module. Plus oefenen baart kunst.
  • 23. wireframe opdracht ! HTML module 33.1 Intro Flexbox