CSS how to vertically align text within a pseudo element
I have created a pseudo element to sit over an unordered list, the css is as follows: .pricing-column.featured::after { content: "Most Popular"; background: #52BDE6 none repeat scroll 0% 0%; color: #FFF; width: 80px; border-radius: 100%; position: absolute; top: -10px; left: -10px; z-index: 1000; text-transform: uppercase; font-weight: 700; font-size: 0.9em; line-height: 0.9em; padding: 10px; display: inline-block; height: 80px; } However, with this, the text inside the pseudo element sits at the top of my element - is there a way to center it vertically? Here is a fiddle http://jsfiddle.net