Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
338
posted 13 years ago by myrebel420
Easily Modify and Layout html with classes that on the fly create margins
0
476
posted 13 years ago by chrisjlee
The following will cause the "comments closed" line to not display on both posts and pages.
2
630
posted 13 years ago by fabi
Great to see exactly the position of all the blocs in a page.
Thanks to Chris Coyier for this tip.
0
434
posted 13 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
663
posted 13 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
517
posted 13 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
443
posted 13 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
424
posted 13 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
441
posted 13 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
559
posted 13 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
399
posted 13 years ago by charmcitycoder