Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

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

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn the CSS position property in this comprehensive tutorial for beginners. Explore absolute, relative, fixed, and sticky positioning through practical examples and a mini-project. Discover how to apply different position values, handle element overlap with z-index, and create sticky headers and fixed social buttons. Gain insights into accessibility considerations and implement smooth scrolling between sections. Master the fundamentals of CSS positioning to enhance your web design skills and create more dynamic layouts.

Syllabus

Intro
Welcome
Setup & Starter Code Review
position: static
position: absolute
position: relative
position: fixed
Element overlap and z-index
position: sticky
Accessibility with position: absolute
Mini-project starter code
Section, header, footer styles
Headers with position: sticky
Choosing a fixed or sticky footer
Adding a fixed social button
Smooth scrolling between sections

Taught by

Dave Gray

Reviews

Start your review of CSS Position Property Tutorial for Beginners - Absolute, Relative, Fixed, Sticky

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.