Background

Using the background property, you can set multiple values in one definition. This box uses an image for the background, but causes it to not repeat and centers it.


/* CSS CODE */
 
@import url(http://css-sandbox.wdfiles.com/local--code/admin:themes);
 
.backProps{
    min-height: 200px;
    padding: 1em;
    background: #E3FFD5 center no-repeat url(http://css.wikidot.com/local--files/property:background/leafBackSmall.png);
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License