why we use position_static? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why we use position_static?

with out this property we can use same effect using other css attributes

24th Oct 2016, 9:30 AM
Deepak kumar gurjar
Deepak kumar gurjar - avatar
1 Answer
+ 1
Actually, HTML elements are positioned static by default. When an element is positioned static it's not affected by the top, bottom... properties. And it's positioned according to the normal flow of the page.
24th Oct 2016, 9:58 AM
Elias Papachristos
Elias Papachristos - avatar