3 Things You Should Know When Beginning CSS

Image for post
Image for post

#1 — The Document Flow & Box Model

Image for post
Image for post
CSS Box Model

#2 — CSS Positioning

.ancestor
└ .descendant-wrapper
└ .descendant
position: sticky;
top: 0;

#3 — Flexbox Is Your Friend

Wrap Up

Written by

Front-end Web Developer. Language lover. Traveler. Dude.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store