MENU

Fun & Interesting

CSS Position Property Tutorial for Beginners | Absolute, Relative, Fixed, Sticky

Dave Gray 33,046 3 years ago
Video Not Working? Fix It Now

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this CSS position property tutorial for beginners, you will learn each possible position property value including absolute, relative, fixed and sticky with examples. We will build a mini-project to show how these position property values are applied, too. 🚩 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/ CSS Position Property Tutorial for Beginners | Absolute, Relative, Fixed, Sticky (00:00) Intro (00:05) Welcome (00:26) Setup & Starter Code Review (03:14) position: static (03:51) position: absolute (07:09) position: relative (08:26) position: fixed (10:06) Element overlap and z-index (11:17) position: sticky (12:42) Accessibility with position: absolute (14:38) Mini-project starter code (16:07) Section, header, footer styles (18:10) Headers with position: sticky (19:32) Choosing a fixed or sticky footer (20:45) Adding a fixed social button (22:09) Smooth scrolling between sections βš™ 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 πŸ“š 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 πŸ“š Typography Resources: πŸ”— MDN: Fundamental Text and Font Styling - https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals πŸ”— CSSFontStack.com: Websafe Fonts - https://www.cssfontstack.com/ πŸ”— MDN: Styling Links - https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals πŸ“š Color Resources: πŸ”— Coolors Contrast Checker: https://coolors.co/contrast-checker/112a46-acc8e5 πŸ”— WebAIM Contrast Checker: https://webaim.org/resources/contrastchecker/ πŸ”— Coolors Palette Generator: https://coolors.co/ πŸ”— HTML Color Codes: https://htmlcolorcodes.com/ βœ… 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 the CSS Position Property for Beginners helpful? If so, please share. Let me know your thoughts in the comments. #css #position #property

Comment