Welcome To Snipplr


Everyone's Recent CSS Snippets



1 ... 12 13 14 15 16 ... 39
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1 602 posted 12 years ago by 1man
Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.
1 658 posted 12 years ago by vagrantradio
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0 325 posted 12 years ago by mnezes
1 451 posted 12 years ago by fadehelix
0 403 posted 12 years ago by SixteenOne
0 438 posted 12 years ago by adriano
6 556 posted 12 years ago by adriano
These are just two css media queries you may want to use for your website development. With lots of smart-phones, and tablets being able to orientate their screens from landscape to portrait, you may want to include different styles for each. This is...
1 422 posted 12 years ago by paul66
IE7 by default uses an image resizing algorithm that means that scaled down images can look far from awesome. To solve this, we simply enable a much better resizing algorithm that is available in IE7 that produces results similar to what you’d expe...
0 417 posted 12 years ago by paul66
This snippet basically gives us the best of both worlds, allowing the best usability when it comes to link outlines for both screenreaders tabbing through links, and mouse users.
0 391 posted 12 years ago by paul66
Alignment of labels with their relevant inputs can be a horrible task to achieve in older browsers. This snippets solves that for us by making it consistent across browsers!
0 350 posted 12 years ago by paul66
This snippet simply makes the text wrap when it reaches the walls of its container, in this case, the pre tag, whilst still preserving line breaks and white space cross browser.
0 400 posted 12 years ago by paul66
Sometimes, pages can be shorter than the browser view-port, and when you load a page on the same site that has longer content and uses a scrollbar, content can jump side to side. By forcing a scrollbar no matter the height of our content, we stop thi...
0 387 posted 12 years ago by paul66
To get rid of rendering inconsistencies that can occur between browsers and OS’s when rendering fonts in pixels, this snippet allows you to size your fonts in such a way that the size and line-height will remain consistent across these platforms fo...
0 341 posted 12 years ago by paul66
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 518 posted 12 years ago by paul66
0 542 posted 12 years ago by kanampo
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 547 posted 12 years ago by bdiddymc
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 410 posted 12 years ago by Moonsheeld
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 513 posted 12 years ago by classicc
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 501 posted 12 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 519 posted 12 years ago by andor_chen
0 369 posted 12 years ago by atomicbutterfly
0 387 posted 12 years ago by Sullan
2 285 posted 12 years ago by RubenBristian
3 506 posted 12 years ago by silentpro
0 529 posted 12 years ago by kanampo
0 317 posted 12 years ago by cha0s
1 ... 12 13 14 15 16 ... 39