Friday, September 26, 2014

Position a background image some number of pixels off of the lower right corner of the element being styled in CSS.

background-position: right 5px bottom -5px;

...is markup in contrast to offsetting from the upper left corner like so...

background-position: 5px -5px;

No comments:

Post a Comment