Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Creates a "pill" button with rounded corners; expands with text.
2
1146
posted 16 years ago by delibash
Creates a "pill" button with rounded corners; expands with text.
0
956
posted 16 years ago by delibash
You can turn off Safari and Opera’s blue outline focus style using:
0
1201
posted 16 years ago by fabi
Change Text Highlight Color |
Prevent Firefox Scrollbar Jump |
Print Page Breaks |
Attribute-Specific Icons |
CSS Pointer Cursors |
Prevent Safari Resizeable Text areas
2
1013
posted 16 years ago by benjaminpearson
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3
1653
posted 16 years ago by jiggyhat
Adds a class of hasJS to the html element, can be used for CSS styling.
1
1614
posted 16 years ago by 1man
Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!).
The button is floated so you may need to add overflow: hidden to it's container.
1
1698
posted 16 years ago by 1man
Excellent article on using a CSS Template layout system that makes customizing web pages a step easier.
3
1467
posted 16 years ago by donjuanito909
Useful little spippet for a button anchor where the text may change.
0
1618
posted 16 years ago by 1man
Ever wanted nested stylesheets?
I have!
Now you can have them! If you code your stylesheets as JSON and parse them using JSS 0.1. You could have the following:
JSS({
'html': {
'body': {
background: '#ff...
0
1360
posted 16 years ago by dom111
When you hover over the “message†div, the “controls†div inside it will appear, along with all of its content, giving you the same functionality as used by the Twitter web app.
There may be an issue with accessibility because screen reade...
0
1191
posted 16 years ago by justinseiter
This method maintains its integrity with all combinations of images on/off and CSS on/off.
This method works by laying an empty span over the top of the parent element with the required image applied as a background to that span.
There is howev...
4
2080
posted 16 years ago by justinseiter
This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you...
8
2380
posted 16 years ago by justinseiter