Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged CSS3



0 616 posted 13 years ago by adriano
6 768 posted 13 years ago by adriano
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 557 posted 13 years ago by Moonsheeld
1 611 posted 13 years ago by adambundy
Use as follow in you style.less file : <pre> .example{ .linearGradient(0, #fff, 50%, #ccc, 100%, #fff); } </pre>
1 731 posted 13 years ago by kanouf
Use as follow in your style.less file : <pre> .example{ .rotation(9deg); } </pre>
1 550 posted 13 years ago by kanouf
0 558 posted 13 years ago by focal55
0 528 posted 13 years ago by thesmu
Use the regular box shadow, but add the keyword "inset" as the last parameter. Works in Firefox, Safari, Chrome, Opera and IE9.
0 463 posted 13 years ago by visudex
1 610 posted 13 years ago by adambundy
This fixes the weird rendering in webkit of rounded corners
0 582 posted 13 years ago by chippper
<a href="http://nettuts.s3.amazonaws.com/837_shadow/shadow/index.html">View a demo</a>
17 4459 posted 13 years ago by Nettuts
For progressive enhancement, you could use the transform property that is supported by many browsers that have CSS3 support. Here’s a trick for enlarging a elements on hover by 110%.
1 655 posted 13 years ago by alozuldo
rounded corners css3
0 409 posted 13 years ago by themainentity
This will add a subtle drop shadow to all images on a page. Works with all major browsers excluding Internet Explorer 8 and below. The beta version of Internet Explorer does support box-shadow. There's a nice writeup on box shadow here: http://www...
2 599 posted 13 years ago by jazzs3quence
1 453 posted 13 years ago by devilsansclue
2 667 posted 13 years ago by thesmu
2 522 posted 13 years ago by kanouf
1 592 posted 13 years ago by kanouf
1 598 posted 13 years ago by kanouf
3 672 posted 13 years ago by alozuldo
1 591 posted 13 years ago by alozuldo
0 490 posted 13 years ago by dkl3in
0 581 posted 13 years ago by thesmu
1 596 posted 13 years ago by thesmu