Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Plenty of you will have used Eric Meyer’s css reset before now. It is included in many frameworks and so on, like 960.gs. This is a revamped version of that reset, that brings it into the present with full support for html5. It sets all the new str...
1
900
posted 13 years ago by paul66
A LESS class which can be included to easily allow for a page-curl/shadow on element.
*NOTE: Still needs work to allow for consistency at various sizes...*
**Usage Instructions**
* To remove reliance on javascript, setup the LESS compiler:...
6
880
posted 13 years ago by bdiddymc
In Webkit, when a general (x ~ y) or adjacent sibling selector (x + y) is combined with a dynamic pseudo class such as :hover, :focus, :checked, etc., the function breaks. This code snippet fixes it.
0
854
posted 13 years ago by classicc
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1
815
posted 13 years ago by tonatiuh
To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for `pre` tags)
0
898
posted 13 years ago by andor_chen
When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will han...
0
667
posted 13 years ago by lamebollock
Also seen for now at carinsurancerates.com
Assembled this in 2008 and have used it numerous times since then, reliable chunk of code. Jquery can be used to add a nice slide down option like on carinsurancerates.com
2
774
posted 13 years ago by toltmanns
There seems to be many scan directory systems but I could not find one that works the way I needed. I added in functionality for a search filter and an ignore list. The search filter and ignore list can ignore by extension, file (case-sensitive file...
1
1146
posted 13 years ago by SoN9ne
In addition to CSS style information for your theme, style.css provides details about the Theme in the form of comments. The stylesheet must provide details about the Theme in the form of comments. No two Themes are allowed to have the same details l...
0
1482
posted 13 years ago by blueocto
Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:
.ms-rteElement-appleRed {
color:red;
-ms...
0
1180
posted 13 years ago by rumremix
This is simple but saves time to copy-paste. This example has three columns (.boxcol) within the box. But the columns can be removed for single-column box.
0
977
posted 13 years ago by rumremix