Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS sprites in background and vertical alignment Reply To: CSS sprites in background and vertical alignment

#255808
Paulie_D
Member

Something like this.

Flexbox is my preferred solution. If you use CSS Table properties you can’t set the height of the pseudo-element.

https://codepen.io/Paulie-D/pen/jwqjgz