Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0
747
posted 13 years ago by thefricky
A simple way to style a link using a CSS sprite. On hover, the image is moved upwards by the image height to reveal the rollover image.
0
746
posted 13 years ago by studioevoque
This is the new way of creating rounded corners. No images, just 2 lines of code [includes mozilla
fix] The two integers are used to set the radius. If they are equal, you can just put it down once.
0
865
posted 13 years ago by StefanHagen
This base CSS include clearfix, reset CSS, and 972px Grid System by Malikaholic.com. You have your own risk by using this CSS.
1
676
posted 13 years ago by HendyNurrizal
Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.
0
641
posted 13 years ago by ariunbolor
A contract I work on uses tables to layout forms (kinda ghetto I know) and I wanted a text field with a button text to it that would work with their 100% width scheme. Normall it places to betton below the text input, but using this HTML and CSS it w...
0
880
posted 13 years ago by FatFolderDesigner
IE9 renders google fonts nicer when combining two fonts into the same URL call in the style sheet.
2
883
posted 13 years ago by jamigibbs
This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
0
990
posted 13 years ago by rumremix
The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit"...
1
1044
posted 13 years ago by rumremix
This snippet will add a linear-gradient atop a background image. With this you'll be able to assign tiling and non-tiling backgrounds with a top-down gradient. The linear-gradient syntax includes the newer, standard -webkit- syntax as well as the old...
0
710
posted 13 years ago by dtigraphics