Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15
3320
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
761
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
808
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
879
posted 12 years ago by lingokid
A complete lightbox with minimal code and full functionality: close button, close on escape keypress, close on lightbox blur event.
1
706
posted 12 years ago by mortu
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
646
posted 12 years ago by flanker
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
667
posted 12 years ago by jntu_gnec
I am having an issue making the div stay opened when it gets animated
0
639
posted 12 years ago by skeletor1101