![]() ![]() ![]() For example position: absolute makes the element positioned relative to the whole document, position: fixed makes the element positioned relative to the window's border, etc.Īdditionally, you can use CSS transforms which also don't affect layout. You can do this by setting the position CSS attribute of the element to something other than relative. If you want an element to move from one position to another, you have to take it out of the normal layout. Browsers "flow" the layouts, so if you make one element bigger, it reflows the rest of the document and displaces elements where it needs to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |