Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1034
posted 14 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
982
posted 14 years ago by classicc
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1
917
posted 14 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
1034
posted 14 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
770
posted 14 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
890
posted 14 years ago by toltmanns
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
1744
posted 14 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
1356
posted 14 years ago by rumremix
Use as follow in your style.less file :
<pre>
.example{
.rotation(9deg);
}
</pre>
1
818
posted 14 years ago by kanouf
An idea of Nicolas Gallagher : pure CSS folded corner.
To apply this, you simply have to create a <div> element with the CSS class "note"
2
756
posted 14 years ago by arnaudbrousseau