The author explores the problem of aligning a box between two words and keeping its height equal to uppercase letters. They propose three solutions and ultimately find the 'cap' unit to be the perfect solution.

3m read timeFrom ishadeed.com
Post cover image
Table of contents
IntroductionThe problemSolution 1: Fixed sizeSolution 2: The ex unitSolution 3: The cap unitSolution 3: cherry on topAligning text and iconOutroSubscribe to my newsletter
6 Comments

Sort: