Monday, 9 December 2013

CSS : Multiple Backgrounds



Another great time saver is the option of inserting multiple background directly from CSS, instead of using all kinds of hacks as we used to do before. The code is simple to write and to remember, and I am sure you will use it at some point in time.




.multiplebackgrounds {

height: 100px;

width: 200px;

padding: 20px;

background: url(top.gif) top right no-repeat,

url(bottom.gif) top left repeat-y,

url(middle.gif) bottom repeat-z;

}                                                                                                                                

































Other Topics

No comments:

Post a Comment

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...