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 1161 posted 14 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 1209 posted 14 years ago by vagrantradio
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0 652 posted 14 years ago by mnezes
1 846 posted 14 years ago by fadehelix
0 775 posted 14 years ago by SixteenOne
0 872 posted 14 years ago by adriano
6 1103 posted 14 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 835 posted 14 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 787 posted 14 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 803 posted 14 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 722 posted 14 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 805 posted 14 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 823 posted 14 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 702 posted 14 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 1025 posted 14 years ago by paul66
0 991 posted 14 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 1025 posted 14 years ago by bdiddymc
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 829 posted 14 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 968 posted 14 years ago by classicc
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 909 posted 14 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 1024 posted 14 years ago by andor_chen
0 729 posted 14 years ago by atomicbutterfly
0 752 posted 14 years ago by Sullan
2 561 posted 14 years ago by RubenBristian
3 944 posted 14 years ago by silentpro
0 976 posted 14 years ago by kanampo
0 679 posted 14 years ago by cha0s
1 ... 12 13 14 15 16 ... 39