Introduction

Every now and then a beginner says to me, 'Ohans, I don't understand how positioning in CSS works.' Well, I'll teach you that here.

We'll cover the following...

Hate or love it, positioning in CSS is a fundamental topic. One that is pivotal to your development in CSS.

In the following lessons, I will explain what you need to know about the 4 common types of positioning in CSS.

  • Static Positioning
  • Relative Positioning
  • Absolute Positioning
  • Fixed Positioning

I won’t show you how these work with a lengthy boring essay, we will learn explore positioning in CSS by building the phone below with plain CSS. No images, ...