SlideShare a Scribd company logo
1.6 HTML/CSS Responsive
HTML module 11.6 HTML/CSS Responsive
Lesdoel!
Responsive Design
HTML module 11.6 HTML/CSS Responsive
@media rules / display / info over mobile use
HTML module 1
Position!
HTML module 11.6 HTML/CSS Responsive
Position basisbestand!
HTML module 11.6 HTML/CSS Responsive
Position: Relative
HTML module 11.6 HTML/CSS Responsive
Position: Relative
Gepositioneerd vanaf begin
van de body zoals ingesteld
in de css n.l. 16vw van begin
scherm.
HTML module 11.6 HTML/CSS Responsive
Position: Relative
Gepositioneerd vanaf de positie van het element waar
het zich in bevindt.
HTML module 11.6 HTML/CSS Responsive
Position: Absolute
HTML module 11.6 HTML/CSS Responsive
Position: Absolute
Gepositioneerd vanaf begin
van de body het 0-punt.
De box staat nu 11vw van links
en 2vh van de top.
HTML module 11.6 HTML/CSS Responsive
Position: Absolute
Gepositioneerd vanaf begin body 0-punt vanaf links maar
wel onder de tekst van blok 1
HTML module 11.6 HTML/CSS Responsive
Position: Fixed
HTML module 11.6 HTML/CSS Responsive
<main> element
HTML module 11.6 HTML/CSS Responsive
<details> en <summary> element
Wanneer er veel dat tegelijk wordt weergegeven
kan je gebruik maken van accordions.
Normaal had je hier javascript voor nodig maar in HTLM5.
Kun je gebruik maken van het <details> element i.c.m. het
<summary> element.
Na klik op kennis
HTML module 11.6 HTML/CSS Responsive
<details> en <summary> element
HTML module 11.6 HTML/CSS Responsive
Nieuwe lesstof !
HTML module 11.6 HTML/CSS Responsive
Waarom Responsive?
Aantal mobiele internet gebruikers!
HTML module 11.6 HTML/CSS Responsive
Aantal mobiele internetters wereldwijd!
HTML module 11.6 HTML/CSS Responsive
Aantal mobiele internetters in Nederland!
HTML module 11.6 HTML/CSS Responsive
Responsive d.m.v. Media Query
Media query is een CSS techniek beschikbaar vanaf CSS3.
De @media regel in css geeft stijl aan blokken code
waarvan de @media conditie dit aangeeft.
Als de schermbreedte max 600px
breed is dan word het uitgevoerd.
HTML module 11.6 HTML/CSS Responsive
5 groepen @media indelingen voor
het eenvoudig houden van de beschikbare
devices.
HTML module 11.6 HTML/CSS Responsive
Een andere indelingen die je kunt gebruiken zijn.
HTML module 11.6 HTML/CSS Responsive
Een andere indelingen die je kunt gebruiken zijn.
HTML module 11.6 HTML/CSS Responsive
Combinaties van indelingen
HTML module 11.6 HTML/CSS Responsive
Voorbeeld @media
HTML module 11.6 HTML/CSS Responsive
Voorbeeld @media
HTML module 11.6 HTML/CSS Responsive
HTML module 11.6 HTML/CSS Responsive
Voorbeeld @media
HTML module 11.6 HTML/CSS Responsive
Opdracht!
Maak een webpagina m.b.v. @media queries waar
Op een telefoon alleen plaatje van een telefoon
verschijnt.
Op een tablet alleen een plaatje van een tablet
verschijnt.
Op een laptop alleen een plaatje van een laptop
verschijnt.
Je hebt hiervoor 15 minuten.
HTML module 11.6 HTML/CSS Responsive
Responsive design!
De webapplicatie kan op de meerdere devices anders
zijn dan de webapplicatie voor bigscreen apparaten.
Hou wel rekening met:
• Huisstijl
• Kleuren
• Font’s
• Plaatjes
• Leesbaarheid
HTML module 11.6 HTML/CSS Responsive
Responsive design!
HTML module 11.6 HTML/CSS Responsive
Responsive design!
Bij het maken van een responsive webapplicatie moet je vooraf
rekening houden met de indeling van je webpagina’s.
Gebruik classes en id’s die aanpasbaar zijn aan de grootte
van de schermen.
HTML module 11.6 HTML/CSS Responsive
Responsive design!
Bij coderen van een webpagina met onderscheid tussen
mobiel en groot scherm kan je ook de code ook indelen in mobile
en bigscreen.
HTML module 11.6 HTML/CSS Responsive
Huiswerk !
Pas de gemaakte website over jou zelf aan voor mobile en
normaal scherm. Zorg ervoor dat de mobile site en anders
uitziet dan de webpagina voor het normale scherm.
Lever het geheel als zipfile in op teams in opdracht
HTML les 1.6.

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
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
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
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...
 

1.6 html css responsive

  • 1. 1.6 HTML/CSS Responsive HTML module 11.6 HTML/CSS Responsive
  • 2. Lesdoel! Responsive Design HTML module 11.6 HTML/CSS Responsive @media rules / display / info over mobile use
  • 4. HTML module 11.6 HTML/CSS Responsive Position basisbestand!
  • 5. HTML module 11.6 HTML/CSS Responsive Position: Relative
  • 6. HTML module 11.6 HTML/CSS Responsive Position: Relative Gepositioneerd vanaf begin van de body zoals ingesteld in de css n.l. 16vw van begin scherm.
  • 7. HTML module 11.6 HTML/CSS Responsive Position: Relative Gepositioneerd vanaf de positie van het element waar het zich in bevindt.
  • 8. HTML module 11.6 HTML/CSS Responsive Position: Absolute
  • 9. HTML module 11.6 HTML/CSS Responsive Position: Absolute Gepositioneerd vanaf begin van de body het 0-punt. De box staat nu 11vw van links en 2vh van de top.
  • 10. HTML module 11.6 HTML/CSS Responsive Position: Absolute Gepositioneerd vanaf begin body 0-punt vanaf links maar wel onder de tekst van blok 1
  • 11. HTML module 11.6 HTML/CSS Responsive Position: Fixed
  • 12. HTML module 11.6 HTML/CSS Responsive <main> element
  • 13. HTML module 11.6 HTML/CSS Responsive <details> en <summary> element Wanneer er veel dat tegelijk wordt weergegeven kan je gebruik maken van accordions. Normaal had je hier javascript voor nodig maar in HTLM5. Kun je gebruik maken van het <details> element i.c.m. het <summary> element. Na klik op kennis
  • 14. HTML module 11.6 HTML/CSS Responsive <details> en <summary> element
  • 15. HTML module 11.6 HTML/CSS Responsive Nieuwe lesstof !
  • 16. HTML module 11.6 HTML/CSS Responsive Waarom Responsive? Aantal mobiele internet gebruikers!
  • 17. HTML module 11.6 HTML/CSS Responsive Aantal mobiele internetters wereldwijd!
  • 18. HTML module 11.6 HTML/CSS Responsive Aantal mobiele internetters in Nederland!
  • 19. HTML module 11.6 HTML/CSS Responsive Responsive d.m.v. Media Query Media query is een CSS techniek beschikbaar vanaf CSS3. De @media regel in css geeft stijl aan blokken code waarvan de @media conditie dit aangeeft. Als de schermbreedte max 600px breed is dan word het uitgevoerd.
  • 20. HTML module 11.6 HTML/CSS Responsive 5 groepen @media indelingen voor het eenvoudig houden van de beschikbare devices.
  • 21. HTML module 11.6 HTML/CSS Responsive Een andere indelingen die je kunt gebruiken zijn.
  • 22. HTML module 11.6 HTML/CSS Responsive Een andere indelingen die je kunt gebruiken zijn.
  • 23. HTML module 11.6 HTML/CSS Responsive Combinaties van indelingen
  • 24. HTML module 11.6 HTML/CSS Responsive Voorbeeld @media
  • 25. HTML module 11.6 HTML/CSS Responsive Voorbeeld @media
  • 26. HTML module 11.6 HTML/CSS Responsive
  • 27. HTML module 11.6 HTML/CSS Responsive Voorbeeld @media
  • 28. HTML module 11.6 HTML/CSS Responsive Opdracht! Maak een webpagina m.b.v. @media queries waar Op een telefoon alleen plaatje van een telefoon verschijnt. Op een tablet alleen een plaatje van een tablet verschijnt. Op een laptop alleen een plaatje van een laptop verschijnt. Je hebt hiervoor 15 minuten.
  • 29. HTML module 11.6 HTML/CSS Responsive Responsive design! De webapplicatie kan op de meerdere devices anders zijn dan de webapplicatie voor bigscreen apparaten. Hou wel rekening met: • Huisstijl • Kleuren • Font’s • Plaatjes • Leesbaarheid
  • 30. HTML module 11.6 HTML/CSS Responsive Responsive design!
  • 31. HTML module 11.6 HTML/CSS Responsive Responsive design! Bij het maken van een responsive webapplicatie moet je vooraf rekening houden met de indeling van je webpagina’s. Gebruik classes en id’s die aanpasbaar zijn aan de grootte van de schermen.
  • 32. HTML module 11.6 HTML/CSS Responsive Responsive design! Bij coderen van een webpagina met onderscheid tussen mobiel en groot scherm kan je ook de code ook indelen in mobile en bigscreen.
  • 33. HTML module 11.6 HTML/CSS Responsive Huiswerk ! Pas de gemaakte website over jou zelf aan voor mobile en normaal scherm. Zorg ervoor dat de mobile site en anders uitziet dan de webpagina voor het normale scherm. Lever het geheel als zipfile in op teams in opdracht HTML les 1.6.