Front-end engineer and Co-Founder @VisualEyes. Striving to write clean and maintainable code by using modern web technologies. Currently passionate about Node, ReactJS, Three.js, CSS animations.
Location
Greece π
Education
Master in Electrical & Computer Engineering
Work
Indie Hacker, Front-end engineer and UI designer at VisualEyes
My most up voted stack overflow answer was about this π
answer re: Why is translateY(-50%) needed to center an element which is at top: 50%?
top:0 (default)
By default, your element is at the top of the page, and the top of the element is at 0:
top:50%
When you move it down by 50% height (50% of the entire page), the top of theβ¦
Nice detailed answer. It's a tricky topic πͺ