by Chris Coyier & Jeff Starr

Tag: tag-cloud

Rounded Font-Sizes (with Colors!) for Tag Clouds

Posted by Updated on

Tag clouds accomplish their varied font sizes by applying inline styling to each tag. The resulting font sizes can be really weird like style='font-size:29.3947354754px;'. There is nothing inherently wrong about that, but it feels a bit unsettling and less controllable. Mike Summers sent in a solution he uses on his own site. Let's check it out.

Code is poetry