Ahmad Shadeed blogs the sentiment that we would not must lean on place: absolute as a lot as we would have up to now. For one factor: stacking parts. For instance, when you’ve got a stack of parts that ought to all go on prime of one another…
All the weather occupy the identical grid cell at that time, however you’ll be able to nonetheless use alignment and justification to maneuver stuff round and get it wanting and behaving the way you need.
What you’re actually saying with place: absolute is I would like this ingredient to be totally faraway from the movement such that it doesn’t have an effect on different parts and different parts don’t have an effect on it. Typically you do, however arguably much less usually than your current CSS muscle reminiscence would have you ever imagine.
I’ll snag considered one of Ahmad’s concept right here:
CodePen Embed Fallback
Each the tag and the title are positioned in a method we would routinely consider utilizing absolute positioning. However once more, one thing like CSS Grid has all the alignment options we have to not solely stack them vertically, however place them proper the place we wish.
At Marketing Solution Australia we strive to deliverer elegant responsive websites for your business integrated with our personal SEO Optimization package to bring your pages on the first page of Google.