CSS Media Queries & Responsive Web Design tutorial for Beginners

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

Learn CSS media queries and responsive web design for beginners in this tutorial. A CSS media query is capable of changing your page design and presentation based on different screen and browsers sizes.

๐Ÿšฉ Subscribe โžœ https://bit.ly/3nGHmNn

๐Ÿš€ This lesson is part of a CSS for Beginners tutorial series playlist:

๐Ÿ”— All Resources for this CSS Tutorial Series: https://github.com/gitdagray/css_course

๐Ÿ“ฌ Course Updates โžœ https://courses.davegray.codes/

CSS Media Queries & Responsive Web Design tutorial for Beginners

(00:00) Intro
(00:05) Welcome
(00:26) Starter Code
(01:26) Viewport meta tag
(02:48) Syntax of a media query
(03:28) Think mobile first
(05:53) Other query types and breakpoints
(07:11) How to choose breakpoints
(10:25) Build a basic page layout
(16:11) Add a media query
(17:49) Use dev tools to view different screen sizes
(20:41) Add all media queries
(24:14) View each breakpoint change

โš™ Web Dev Tools:
๐Ÿ”— Chrome Browser: https://www.google.com/chrome/
๐Ÿ”— Visual Studio Code (VS Code): https://code.visualstudio.com/
๐Ÿ”— Live Server VS Code Extension: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
๐Ÿ”— vscode-icons VS Code Extension: https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
๐Ÿ”— Github Themes VS Code Extension: https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme
๐Ÿ”— W3C CSS Validator: https://jigsaw.w3.org/css-validator/
๐Ÿ”— Specificity Calculator: https://specificity.keegan.st/
๐Ÿ”— HTML Special Characters and Entities: https://unicode-table.com
๐Ÿ”— CanIUse.com: https://caniuse.com/

๐Ÿ“š References:
๐Ÿ”— MDN CSS: https://developer.mozilla.org/en-US/docs/Web/CSS
๐Ÿ”— MDN CSS Basics: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics
๐Ÿ”— MDN CSS Selectors: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors
๐Ÿ”— MDN โ€“ How to Apply Colors to HTML Elements with CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/color
๐Ÿ”— MDN โ€“ CSS Values and Units: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units
๐Ÿ”— MDN โ€“ The Box Model: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model
๐Ÿ”— MDN โ€“ Styling Lists: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists
๐Ÿ”— MDN โ€“ Display Property: https://developer.mozilla.org/en-US/docs/Web/CSS/display
๐Ÿ”— MDN โ€“ Floats: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats
๐Ÿ”— MDN โ€“ Columns: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns/Basic_Concepts_of_Multicol
๐Ÿ”— MDN โ€“ Margin Collapsing: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
๐Ÿ”— MDN โ€“ White-Space: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
๐Ÿ”— MDN โ€“ Positioning: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning
๐Ÿ”— MDN โ€“ Flexbox: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox
๐Ÿ”— MDN โ€“ Basic Concepts of Grid Layout: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout
๐Ÿ”— MDN โ€“ Grid Template Areas: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas
๐Ÿ”— MDN โ€“ CSS Images: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Images
๐Ÿ”— MDN โ€“ CSS Background Images: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images
๐Ÿ”— Chip Cullen โ€“ Article on Content Layout Shift: https://chipcullen.com/what-width-and-height-attributes-to-use-with-responsive-images/
๐Ÿ”— MDN โ€“ CSS Media Queries: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Media_queries

โœ… Follow Me:
Github: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/DaveOnEleven

Was this tutorial about CSS Media Queries and Responsive Web Design helpful? If so, please share. Let me know your thoughts in the comments.

#css #media #queries

You May Also Like