Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged CSS3



0 630 posted 13 years ago by adriano
6 777 posted 13 years ago by adriano
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 564 posted 13 years ago by Moonsheeld
1 622 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 743 posted 13 years ago by kanouf
Use as follow in your style.less file : <pre> .example{ .rotation(9deg); } </pre>
1 561 posted 13 years ago by kanouf
0 568 posted 13 years ago by focal55
0 536 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 473 posted 13 years ago by visudex
1 619 posted 13 years ago by adambundy
This fixes the weird rendering in webkit of rounded corners
0 589 posted 13 years ago by chippper
<a href="http://nettuts.s3.amazonaws.com/837_shadow/shadow/index.html">View a demo</a>
17 4485 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 667 posted 13 years ago by alozuldo
rounded corners css3
0 419 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 606 posted 13 years ago by jazzs3quence
1 457 posted 13 years ago by devilsansclue
2 678 posted 13 years ago by thesmu
2 531 posted 13 years ago by kanouf
1 599 posted 13 years ago by kanouf
1 605 posted 13 years ago by kanouf
3 685 posted 13 years ago by alozuldo
1 600 posted 13 years ago by alozuldo
0 499 posted 13 years ago by dkl3in
0 590 posted 13 years ago by thesmu
1 610 posted 13 years ago by thesmu