Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged CSS3
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The transition instructions are attached to the normal state and therefore declared only once, then triggered on for eg. hover.
0
667
posted 13 years ago by Barlon
A Simplified solution to CSS-Tricks Starry Night Parallax Effect. Se URL for demo and original article. Example files can also be downloaded at the URL.
0
883
posted 13 years ago by DeluxiveState
Pure CSS3 buttons with 9 pre-defined colours and 3 styles.
Adapted from Web Designer Wall - http://www.webdesignerwall.com/demo/css-buttons.html
1
864
posted 13 years ago by Huskie
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
727
posted 13 years ago by ptrani
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
865
posted 13 years ago by StefanHagen
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
710
posted 13 years ago by dtigraphics
Use as follow :
.example{
.insetShadow(0, 1px, 5px, rgba(0,0,0, .5));
}
0
666
posted 13 years ago by kanouf
CSS3 button with a transparent glass effect (looks better on a textured background). A snapshot can be seen <a href="http://demos.pixelworkshop.fr/misc/css_button.jpg">Here</a>
0
943
posted 13 years ago by Keliah
RGBa is a way to declare a color in CSS that includes alpha transparency support.
Filter for IE could be add per conditional comment
0
741
posted 13 years ago by dkl3in