CSS plays a major part in the field of web development and can be easy and at a point, it can also be advanced and tough, throughout CSS's history,...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
This is not a good article. Whoever is a beginner and tries to do this, will fail. You're leaving out of context a lot of things and even if I go and edit your code on codepen, I can see that removing margin or adding margin doesn't center anything vertically. What gives the vertically centered view of the text is your padding on the
.center
class and the margin of the p tag, not addingmargin:auto
. Please at least try out your own code before you post an article.Great job!
Thanks
great!
Thanks π
Good work!
Thanks π
Good work!!
Thanks π
Do not need the giveaway but do need tricks and hacks like this.
Thanks π Bro