How to Organize CSS | Beginners BEM tutorial
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap How to Organize CSS and a Beginners BEM tutorial. This CSS tutorial for beginners looks at several helpful ways to organize your CSS styles and introduces the BEM naming convention methodology. π© Subscribe β https://bit.ly/3nGHmNn π This lesson is part of a CSS for Beginners tutorial series playlist: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit π All Resources for this CSS Tutorial Series: https://github.com/gitdagray/css_course π¬ Course Updates β https://courses.davegray.codes/ How to Organize CSS | Beginners BEM tutorial (00:00) Intro (00:05) Welcome (00:26) Follow Your Team (01:16) Create Headings with Comments (02:24) Sort CSS properties by ABCSS or groups (05:40) Naming Convention Methodologies (06:41) BEM - Blocks (08:10) BEM Blocks with Modifiers (11:07) BEM Blocks vs Elements (14:32) Header example styles (16:15) BEM Elements (17:27) BEM Elements with Modifiers (18:54) BEM helps keep specificity aligned β 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 π W3C CSS Validator: https://jigsaw.w3.org/css-validator/ π Specificity Calculator: https://specificity.keegan.st/ π CanIUse.com: https://caniuse.com/ π References: π 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 π MDN - CSS Pseudo-Classes and Pseudo-Elements: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors/Pseudo-classes_and_pseudo-elements π MDN - List of CSS Pseudo-Classes: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes π MDN - List of CSS Pseudo-Elements: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements π MDN - CSS Custom Properties (Variables): https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties π MDN - CSS Functions: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions π MDN - CSS Transform: https://developer.mozilla.org/en-US/docs/Web/CSS/transform π MDN - CSS Transitions: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions π MDN - CSS Animations: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Animations/Using_CSS_animations π MDN - Organizing Your CSS: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Organizing π Scott O'Hara - Organizing CSS for Everyone: https://modernweb.com/ordering-css/ π Get BEM - Introduction: http://getbem.com/introduction/ β 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 how to organize your CSS and beginners BEM tutorial helpful? If so, please share. Let me know your thoughts in the comments. #css #organize #bem
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.