Software developer with interest in all parts of CS, specially into UI and ML at the moment.
Outside of CS I am total outdoor person and currently i am trying to learn piano and german.
It could and most of browsers do support flex, but absolute position is something that def should work everywhere. Which is why it is more common solution
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I guess margin:auto; also works if the parent container is relatively positioned.
I use display:flex;
align-item:center;
justify-content:center;
It could and most of browsers do support flex, but absolute position is something that def should work everywhere. Which is why it is more common solution