Arată versiune īntreagă : CSS] Cum pot pune mai multe background-uri ?
GarryOne
05.10.2011, 21:25
Din ce am gasit pe net am incercat cu asta:
background-image: url(data/images/light.png) no-repeat right, url(data/images/menubg.png) repeat-x;
insa nu a mers. cum pot face acest lucru ? Vreau ca intr-un div micut, jos sa fie un shadow, iar sus un light.
Nu prea am ineles ce vrei mai exact, dar banuiesc.. vrei ca backgroundul unui div sa fie din 2 culori, nu ?.. daca da atunci poti folosi gradient.
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startCo lorstr='#cccccc', endColorstr='#000000'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */
background: -moz-linear-gradient(top, #ccc, #000); /* for firefox 3.6+ */
http://www.cwr.ro/showthread.php/16379-Imagini-multiple-de-fundal-la-un-singur-chenar
http://www.w3.org/TR/css3-background/
GarryOne
06.10.2011, 12:01
mc, am rezolvat cu background position, daca nu inidici pozitia, se suprapune
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. Toate drepturile rezervate.
Traducere vBulletin® īn Romānă roStyles Design LLC