Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
All credit to Richard Clarke, code taken from HTML 5 Doctor. Posted here for quick access from TextMate.
6
3077
posted 15 years ago by mrjohnsly
In this tutorial we are going to use the :before pseudo-element to create a 3D style box. This effect will not work in Internet Explorer since it does not support the :before attribute. IE users will only see the element's themselves, and nothing els...
0
565
posted 15 years ago by myrebel420
Easily Modify and Layout html with classes that on the fly create margins
0
741
posted 15 years ago by chrisjlee
Great to see exactly the position of all the blocs in a page.
Thanks to Chris Coyier for this tip.
0
681
posted 15 years ago by HubertGaulin
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins?
A quick solution is adding a css debug class to your container. Feel free to change...
0
1054
posted 15 years ago by chrisjlee
Using the below code,you can have a rounded corner border, to have a rounded fill, please check the url..<a href="http://htmlcsstutorials.blogspot.com/2009/06/niffy-rounded-corners-using-html-and.html">Nifty rounded corners using html and css</a>
1
822
posted 15 years ago by webdevelopertut
Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Actually two separate stylesheets: one for IE in general and one for IE6 specifically.
[Part I](http://snipplr.com/view/16353/ "DzR Maste...
0
698
posted 15 years ago by wizard04
An add-on to [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Many helpful classes for layout, writing styles, paged media, etc.
For the `printHref` class, you'll need to replace "example.com" with your own domain.
[P...
0
673
posted 15 years ago by wizard04
A very thorough CSS reset stylesheet I created for HTML 4.01 using CSS 3 (and older).
[Part II](http://snipplr.com/view/16354/"DzR Master Stylesheet (Part II, Classes)")
[Part III](http://snipplr.com/view/16355/ "DzR Master Stylesheet (Part...
0
693
posted 15 years ago by wizard04
Clearfix with 2 different classes: page, section
Section: takes up a whole row (much like TR);
Page: is the container for each section
0
835
posted 15 years ago by chrisjlee
I saw this somewhere else, so I can't claim to have come up with it myself. Def life-saver!
0
631
posted 15 years ago by charmcitycoder
- opacity: 0.5; Funktioniert in den neuesten Versionen von Firefox, Safari und Opera
- filter:alpha(opacity=50); für den Internet Explorer.
-moz-opacity:0.5; für ältere Versionen der Mozilla Browser wie beispielsweise Netscape Navigator, Mozilla...
2
697
posted 15 years ago by skrippendorf