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
1501
posted 12 years ago by i-am-andy
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15
3843
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
934
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
966
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
1063
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
803
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
1448
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
837
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
991
posted 13 years ago by OrngTicTac