Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged background



« Prev 1 2
background image full size centered
0 4235 posted 9 years ago by envane21
Using a combination of background and padding styles to modify the way list image styles are applied.
0 2635 posted 11 years ago by bcounts
A simple effect using simple CSS. This is part of a collection of gradient effects
0 2790 posted 11 years ago by COBOLdinosaur
Each image is positioned, dimensioned, and repeated according to the comma separated values in the other background properties. The images in the list are layered front to back in the same order they are listed in the rule declaration. If a backgroun...
0 2888 posted 12 years ago by COBOLdinosaur
Today with CSS3, you no longer need a background image for gradients. You can use CSS to add a gradient to the background of some elements on your page. For ex.: change the color hex values ("84c8d7" and "327fbd") to the gradient color you need.
1 1889 posted 12 years ago by apphp-snippets
Full Background Image in CSS
1 1949 posted 13 years ago by gnitter
adds a checkered background to images, so images with transparency are revealed. based upon: http://lea.verou.me/css3patterns/#checkerboard
0 1899 posted 13 years ago by shangle
HTML should look like this: <div> <p>Lorem ipsum here</p> </div> <div> <img> </div>
0 2542 posted 14 years ago by a1ias
0 1369 posted 14 years ago by neoline
Make the background attached to the body as fixed such that it does not scroll along with the content of the page.
0 1287 posted 14 years ago by maxjerin
1 1904 posted 14 years ago by Rich
Note that this approach DOESN'T maintain the image's aspect ratio. For a pure CSS technique that does that you need a CSS3 approach.
0 1561 posted 14 years ago by f6design
0 1539 posted 14 years ago by ichnoweb
2 1889 posted 15 years ago by DADU
0 1388 posted 15 years ago by stephcode
RGBa is a way to declare a color in CSS that includes alpha transparency support. Filter for IE could be add per conditional comment
0 1272 posted 15 years ago by dkl3in
0 1097 posted 15 years ago by konkas
div structure <body> <div> <div> <div> Content of the page </div> </div> </div> </body>
0 2658 posted 15 years ago by mlangfeld
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 1479 posted 15 years ago by Moonsheeld
0 1092 posted 15 years ago by cha0s
demo at http://adamcoulombe.info/lab/css/background-transparency.html ... Give an element a background color transparency without affecting the opacity of child or descendant elements. This is a no-PNG method!
0 1598 posted 15 years ago by adamcoulombe
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1 1782 posted 15 years ago by resting
2 1759 posted 15 years ago by thesmu
It determines background image for the element. If the background color is specified for the element at the same time it will be shown while the background image will have been downloaded fully. The same will happen if the image is inaccessible or th...
0 1318 posted 15 years ago by Masis
« Prev 1 2