Position in CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Position in CSS

till today I don't understand position property in CSS ,Like where we use relative, absolute,fixed,etc. Can anyone help me to get that ??

6th Sep 2020, 2:28 AM
𝖆𝖙.𝖚𝕷
𝖆𝖙.𝖚𝕷 - avatar
2 Answers
+ 1
Fixed : it will fix the element in it's own position. It will not be effected by scroll of the screen Relative : it will make the element movable but in perspective of its original position Absolut : it will move element movable but in the perspective of its container
6th Sep 2020, 3:20 AM
Ayush Kumar
Ayush Kumar - avatar
+ 6
I fiund this Youtube video quite helpful🙃 https://youtu.be/jx5jmI0UlXU
6th Sep 2020, 3:01 AM
Vachila64☕
Vachila64☕ - avatar