Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cascade & Positioning in CSS | Static | Relative | Absolute | Fixed | Sticky | CSS Full Course #03
Play lesson

Web Development Full Course 2026 | Build Real Projects (Node.js, Express, React, MongoDB, SpringBoot, AI , System Design) - Cascade & Positioning in CSS | Static | Relative | Absolute | Fixed | Sticky | CSS Full Course #03

4.0 (5)
41 learners

What you'll learn

This course includes

  • 48 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

Ever wonder how CSS decides which style wins when you have conflicting rules? Or how developers create beautiful, overlapping layouts and "sticky" navigation bars? Welcome to Part 3 of our CSS Full Course, where we unlock the "magic" behind CSS! In this deep-dive tutorial, we'll master two of the most powerful and often misunderstood concepts in CSS: the Cascade and the position property. First, you'll learn the unbreakable three-step rulebook—Specificity, Importance, and Source Order—that browsers use to resolve style conflicts. This knowledge is the key to writing predictable and bug-free CSS. Then, we'll break free from the normal document flow and learn how to position any element anywhere on the page using relative, absolute, fixed, and sticky positioning. We'll also cover z-index to control the stacking order of overlapping elements. Finally, we'll put it all into practice by building two beautiful national flag projects (like the flags of Japan and Switzerland) using only HTML and our new positioning skills! 🚀 In This In-Depth CSS Tutorial, You Will Master: 🚀 The Cascade Explained: A clear, step-by-step guide to how CSS resolves conflicts. Specificity: The "Scoring System" of CSS: Learn how to calculate the power of your selectors (ID vs. Class vs. Element) to predict which styles will apply. The Power of !important: Understand what it does and, more importantly, when (and when not) to use it. Source Order: Discover the final tie-breaker rule that determines which style wins in a tie. The position Property: A complete guide to static, relative, absolute, fixed, and the modern sticky positioning. The "Relative-Absolute" Pattern: Master the most common and powerful positioning technique used in professional web development. Controlling Layers with z-index: Learn how to bring elements forward or push them back when they overlap. Hands-On Project: Apply your new skills by building two creative flag projects, forcing you to think about positioning and stacking. This video is perfect for developers who know the basics of CSS and are ready to understand the "rules of the game" and gain full control over their page layouts. Course start date: 1 september Timing: 6pm (Mon-fri) Hackathon will be organised after course completion Join Premium Whatsapp Group: https://whatsapp.com/channel/0029Va6H0tbHVvTbcuT99Y1f Class Notes : https://www.notion.so/Lecture-03-Cascading-and-position-26a3a78e0e2280f8bf0bf6be564ea461?source=copy_link Code Link: https://github.com/coderarmy-notes/mern-stack-course Twitter: https://x.com/rohit_negi9?s=21 Channel: ‪@CoderArmy9‬ Buy Our Premium Course of Web dev+Blockchain+HLD+DSA: https://rohittnegi.akamai.net.in/new-courses/4-web-development-block-chain (5500 only) Time Stamp: 00:00 Introduction 01:14 Cascading 03:27 Inline Priority 04:23 Internal vs External Priority 07:44 Class vs ID vs Element Selector Priority 11:35 Ordering in CSS 14:16 The !important Keyword 14:48 Overall Priority 15:14 Important Discussion 19:24 CSS Positioning 21:33 Types of Position 21:54 position: static (Default) 22:03 position: relative 24:17 position: fixed 26:27 The div Tag 30:15 Key Point 32:40 position: sticky 35:09 position: absolute 42:26 The z-index Property 44:24 Mini Project 1 - Japan Flag 51:44 Homework 51:48 Mini Project 2 - Sweden Flag 01:01:01 Homework - Laos Flag 01:01:17 Wrapping Up #css #coding #webdevelopment

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere