The CSS position house provides you precise handle more than your web page layout. The position home offers us the benefit of being able to specify the z-index of our components. Use left and best to specify the offset from the base point. This totally positioned element normally show 50 pixels from the best of that somewhat positioned division, no matter what else displays there in regular flow. Working with the "relative" value does not position components according to goal of this post, but it does have its utilizes in other conditions. In this case the containing block is the nearest positioned ancestor. You can transform the positioning context to other containing components this lets us position components precisely where we want them. For that reason, the organic positioning of a web site, particularly if it is a web page intended to serve and attract customers, have to work on Search engine marketing from the beginning and take into account that it is a job that will give medium - lengthy benefits. The position home states what type of positioning you want, though the other properties (which, for the sake of laziness, will be referred to collectively as the direction properties), state exactly where to place the element to which the position home applies to.
|