How to Control HTML CSS Position Property

Written by vzdrizhni | Published 2020/02/23
Tech Story Tags: css3 | csshtml | learning-css | positioning | absolute | html-fundamentals | position | microverse

TLDR Position: static has no top, left, bottom and right values, it is always positioned according to the normal flow of the page. Relative: relative has a top, right, left and right, and it’s position depends on its normal position. Absolute: static, relative: fixed, fixed, and absolute: absolute. Both absolute and relative blocks have top and left values equal to 0. For a more detailed explanation, you may watch one interesting video: You can see how absolute positioned element overlaps above relative.via the TL;DR App

no story

Written by vzdrizhni | Freelance full-stack developer
Published by HackerNoon on 2020/02/23