Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Load latest version of jQuery from Google Libraries API and de-register Wordpress version
0
1356
posted 12 years ago by i-am-andy
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15
3441
posted 12 years ago by adambundy
overflow: hidden; will hide both vertical and horizontal scrollbars
overflow-y: hidden; will hide the vertical scrollbar
overflow-x: hidden; will hide the horizontal scrollbar
0
787
posted 12 years ago by TheJasonParker
The idea here is that you contain the content you want to center in two divs, an outer one and an inner one. You float both divs so that their widths automatically shrink to fit your content. Next, you relatively position the outer div with it's righ...
0
831
posted 12 years ago by cesarkohl
/* html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark */
0
908
posted 12 years ago by lingokid
1. Download the zip file and unzip it
2. All the CSS and HTML code with explanation is included so all you
have to do is COPY and PASTE only.
0
676
posted 12 years ago by flanker
adds a checkered background to images, so images with transparency are revealed.
based upon: http://lea.verou.me/css3patterns/#checkerboard
0
1314
posted 12 years ago by shangle
Simple CSS Chess Board marked up with tables and styled with CSS3 psuedo classes. Basic use of :nth-child(odd) and :nth-child(even) to achieve the alternate black and white checkboxes. Check out the CSS code - it's dead simple!
0
692
posted 12 years ago by jntu_gnec
This responsive video CSS trick was discovered by tjkdesign.com. I've blogged about it before, you may read the details here. It makes the video embed to expand fullwidth to the boundary.
0
855
posted 12 years ago by OrngTicTac