Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged CSS3



0 627 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 619 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 742 posted 13 years ago by kanouf
Use as follow in your style.less file : <pre> .example{ .rotation(9deg); } </pre>
1 559 posted 13 years ago by kanouf
0 564 posted 13 years ago by focal55
0 534 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 471 posted 13 years ago by visudex
1 618 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 4481 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 666 posted 13 years ago by alozuldo
rounded corners css3
0 417 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 605 posted 13 years ago by jazzs3quence
1 456 posted 13 years ago by devilsansclue
2 675 posted 13 years ago by thesmu
2 531 posted 13 years ago by kanouf
1 597 posted 13 years ago by kanouf
1 603 posted 13 years ago by kanouf
3 683 posted 13 years ago by alozuldo
1 599 posted 13 years ago by alozuldo
0 496 posted 13 years ago by dkl3in
0 584 posted 13 years ago by thesmu
1 607 posted 13 years ago by thesmu