+ 1
What is "Positioning" in CSS?!
I can't understand positioning in CSS! Is there anyone who explaint it in easy words?!
4 Answers
+ 7
you can visit yo the following link for detail info
https://www.w3schools.com/css/css_positioning.asp
+ 7
position is a CSS' keyword that used to set the type of the position of an element. to adjust the position you must use top/left/right/bottom keyword.
I will post a code about CSS' positioning
+ 7
Sololearn courses about positioning
https://www.sololearn.com/learn/CSS/1114/?ref=app
An example code about CSS positioning
https://code.sololearn.com/W2BI5PB4hnln/?ref=app
+ 6
Html is built by blocks and lines. all elements are relative by default and it are displayed one by another. With CSS you can change the position of any element by changeing it CSS property "position" to :absolute and defining the x and y coordinates on the screen, or using margin-top, margin-left, margin-right, marging bottome and so on. Try it in the simple code.
position: absolute; //relative by default.