CSS Static

CSS Tutorial  >  Position  >  Static

Static is the default value of the position property, which means if no value is given to the position property, its value is static. If an element's position is specified as static, that means it will be rendered in the normal flow of the text.

Since static is the default value of position, we seldom see it declared explicitly. The only instances are when we are trying to undo a declaration that was done to the same element.

If static is the value of position, the directional properties (top, bottom, left, and right) are not used even if specified.

Next: CSS Top

Copyright © 2022   1keydata.com   All Rights Reserved   Privacy Policy   About   Contact