paint-brush
How Elements Positioned and Behave on the Web Pageby@bekhzod
148 reads

How Elements Positioned and Behave on the Web Page

by Bekhzod3mMay 30th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Positioning elements on web pages is based on the position of Content Box (gray box in image) vs Viewport(black border separated) positioning elements on our web page. It helps to concentrate users on some part of the page. We will take a look positioning element base on those two criteria in this article. It would be more clear if we separate property of display in tree class: DOM-based - static, fixed, relative, absolute, absolute Viewport based. Conditional - sticky - sticky-property. It will be positioned according to document flow.

Coin Mentioned

Mention Thumbnail
featured image - How Elements Positioned and Behave on the Web Page
Bekhzod HackerNoon profile picture
Bekhzod

Bekhzod

@bekhzod

Beka

About @bekhzod
LEARN MORE ABOUT @BEKHZOD'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Bekhzod HackerNoon profile picture
Bekhzod@bekhzod
Beka

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Omnimd
Startupnchill