Return to Snippet

Revision: 72188
at May 30, 2017 18:10 by apphp-snippets


Initial Code
<style type="text/css">
#sidebar ul li li a {
   background-image:url(../images/side-li-rtl.png); background-position:right 15px top 9px;
}
</style>

Initial URL
http://www.apphp.com/index.php?snippet=css-align-backgroud-image-with-offset

Initial Description
You may align background image not only to left or top corner, but also use an offset for alignment.

Initial Title
Align Backgroud Image with Offset in CSS

Initial Tags
css, image

Initial Language
CSS