Sent on Jul 29, 2020

Getting the horizontal and vertical centers of an element

When working on UI, I often find myself needing to calculate the horizontal center and vertical center of an element.

Today, I want to share how to get these centers. I’ll also share with a function to get them quickly.

Click here to read the article!. Enjoy!

Stay awesome,
Zell