Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The code below will change the background-color of divs depending on what browser the user is viewing the web page under. Since * cascades down to IE7 and below, we use _ after that declaration so that IE6 (and below) has a different background color...
1
898
posted 14 years ago by alozuldo
This snippet for @font-face *didn't work* as well as the standard Bulletproof code.
1
681
posted 14 years ago by creativeboulder
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
1
732
posted 14 years ago by neal_grosskopf
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
859
posted 14 years ago by adamcoulombe
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it.
I used it with jquery 1.3.2 and up
3
864
posted 14 years ago by e11world
The easiest way to create vertical text is to use ems in addition with a space between the letters of the word that should be displayed verticaly
1
917
posted 14 years ago by jkandei
This appears to be the easiest way to create vertical text (that isn't rotated) with CSS.
7
1036
posted 14 years ago by Nettuts
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1
886
posted 14 years ago by resting
This will add a subtle drop shadow to all images on a page. Works with all major browsers excluding Internet Explorer 8 and below. The beta version of Internet Explorer does support box-shadow. There's a nice writeup on box shadow here: http://www...
2
751
posted 14 years ago by jazzs3quence
If you need to display content images as background on a element. You need to set height, width and background for the element
0
1056
posted 14 years ago by gerhardsletten