Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 ... 5 6 7 8 9 ... 28
If you hover the mouse over the link the background color will smoothly change from light blue to dark blue and the font color – from black to white.
0 583 posted 12 years ago by ptrani
This is a simple trick that allows you to design the html5 search input like another input.
0 518 posted 12 years ago by fabricelejeune
Simple snippet to get a shadow on text in css
0 522 posted 12 years ago by paulund
0 808 posted 12 years ago by ddubyah17
1 728 posted 12 years ago by Rich
The first two mechanisms are probably the most popular, with display: none; being the go-to option implemented by nearly every JavaScript library on the planet and the lion’s share of ready-made JavaScript widgets. If you don’t want your hidden c...
0 558 posted 12 years ago by thesmu
1 606 posted 12 years ago by simondiercks
0 572 posted 12 years ago by tpryan
css starting point for library websites - adds a uniform size, font weights and colors, etc for our websites
0 475 posted 12 years ago by jeremytarpley
0 486 posted 12 years ago by screamwork
0 552 posted 12 years ago by screamwork
0 759 posted 12 years ago by dubogii
0 563 posted 12 years ago by a1ias
A simple way to style a link using a CSS sprite. On hover, the image is moved upwards by the image height to reveal the rollover image.
0 574 posted 12 years ago by studioevoque
This is the new way of creating rounded corners. No images, just 2 lines of code [includes mozilla fix] The two integers are used to set the radius. If they are equal, you can just put it down once.
0 679 posted 12 years ago by StefanHagen
This base CSS include clearfix, reset CSS, and 972px Grid System by Malikaholic.com. You have your own risk by using this CSS.
1 550 posted 12 years ago by HendyNurrizal
0 570 posted 13 years ago by Maux
225 is half the height, 350 is half the width
1 752 posted 13 years ago by egan10
This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
0 810 posted 13 years ago by rumremix
The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit"...
1 836 posted 13 years ago by rumremix
This snippet will add a linear-gradient atop a background image. With this you'll be able to assign tiling and non-tiling backgrounds with a top-down gradient. The linear-gradient syntax includes the newer, standard -webkit- syntax as well as the old...
0 571 posted 13 years ago by dtigraphics
0 556 posted 13 years ago by Savio
1 ... 5 6 7 8 9 ... 28