Home › Forums › CSS › Proportional Circles with any amount of text › Re: Proportional Circles with any amount of text
March 23, 2013 at 7:32 am #129433
Here’s a pen with my solution
Basically, a little jquery to size the outer divs, and nested divs with a little css to vertically center the text.
I made another pen using .outerWidth and .outerHeight to give more padding for text, notice the long multiline text gets really close to the edges in the first example.
The vertical centering method doesn’t work in IE8 or older.