Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged c



1 ... 12 13 14 15 16 ... 39
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1 2280 posted 15 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 2130 posted 15 years ago by vagrantradio
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0 1220 posted 15 years ago by mnezes
1 1658 posted 15 years ago by fadehelix
0 1352 posted 15 years ago by germanny
0 1367 posted 15 years ago by SixteenOne
0 1556 posted 15 years ago by adriano
6 2124 posted 15 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 1536 posted 15 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 1535 posted 15 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 2411 posted 15 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 1382 posted 15 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 1505 posted 15 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 2452 posted 15 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 1321 posted 15 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 1816 posted 15 years ago by paul66
0 1643 posted 15 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 2001 posted 15 years ago by bdiddymc
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 1645 posted 15 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 1674 posted 15 years ago by classicc
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 1537 posted 15 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 1816 posted 15 years ago by andor_chen
0 1319 posted 15 years ago by atomicbutterfly
0 1346 posted 15 years ago by Sullan
2 1102 posted 15 years ago by RubenBristian
3 1681 posted 15 years ago by silentpro
0 1736 posted 15 years ago by kanampo
0 1231 posted 15 years ago by cha0s
1 ... 12 13 14 15 16 ... 39