Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
666
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
770
posted 13 years ago by toltmanns
This little trick will prevent line breaks on your links. I recommend using this with long text to avoid having links break into 2 lines.
0
786
posted 13 years ago by blueocto
Textareas in IE have vertical scrollbar visible by default. If you want those removed (I know I do) use this line.
0
796
posted 13 years ago by blueocto
With this line of code you can control places where you want your pages to break when printing a document.
0
807
posted 13 years ago by blueocto
Use as follow in you style.less file :
<pre>
.example{
.linearGradient(0, #fff, 50%, #ccc, 100%, #fff);
}
</pre>
1
914
posted 13 years ago by kanouf
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
1480
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
1175
posted 13 years ago by rumremix