Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Space div elements evenly inside a wrapper without using float (no right spacing issue) so that all elements are flush to the edges.
0
738
posted 12 years ago by rickygri
Cascading Style Sheets allow developers to exercise greater control over background images on the Web. You can make an image tile vertically across the page, horizontally across the page, or both. Simply define the style at the top of the page, and d...
0
919
posted 12 years ago by nshakin
Font Squirrel is a great place to convert your fonts to the different formats required.
http://www.fontsquirrel.com/fontface/generator
0
872
posted 12 years ago by adrianparr
Toggle approve button, compatible with IE9, not working in IE7 or below
0
769
posted 12 years ago by msstar
If Chrome is bothering with unknown borders and things like that, just apply this.
0
784
posted 12 years ago by valenzine
this snippet is for this html structure
%form
%ol
%li
%label Label:
%input
0
889
posted 12 years ago by Merstzik
as per title. Note in code I used <<>> as non-syntactic indicators of arbitrary code, and >>#<< as indicators of the actual syntax in this case it is #
0
748
posted 12 years ago by skopp
1. Adding shadow to text – text-shadow
Helps make your text stand out from the rest.
2. border image rounding
0
987
posted 12 years ago by skopp
Hiding text can be extremely useful to hide company logo. As logos are usually an image, you will want to use text indent to place it in a h1 tag for SEO (Search Engine Optimization). The technique we use is to hide the text far away off the screen,...
0
873
posted 12 years ago by skopp
control text wrapping, add image size plus padding margin so that text does not float below images
0
571
posted 12 years ago by dkempdesigns
Solución para DIVs que colapsan. Simplemente agrega la clase group al elemento que colapsa y se mostrará su tamaño.
0
661
posted 12 years ago by hibam