Sunday, 15 September 2013

Vertically aligning text, non-standard situation

Vertically aligning text, non-standard situation

I'm using a CSS counter and pseudo-elements to customize unordered list
numbers - jsFiddle
What I'd like to achieve, is aligning a text vertically within a <li>
element whenever it's a single line, otherwise keep it aligned to top as
is.
Any solutions (even involving JS/jQuery) would be much appreciated.

No comments:

Post a Comment