• http://twitter.com/allfordesign Auré

    Great post thanks ! Always really good for improving our productivity.
    For Coda users I’ve shared some CSS3 snippets in my last post : http://bit.ly/e2ZJcy

  • http://www.facebook.com/monmohon.singha Mon Mohon Singha

    really thank……………..

  • Anonymous

    Very cool and oh so much helpfull article.
    It’ll save me a few headaches.

  • http://www.palleman.nu Palle Zingmark

    Great list,

  • http://www.palleman.nu Palle Zingmark

    Great list of snippets. :)

    There is however one thing you should think about when you use vendor-prefix in css and that is to always include the non-prefixed property after the vendor-prefixed versions.

    Why? When a browser implements the standard version of a property, as specified in the relevant CSS3 specification, you most likely want it to use that implementation instead of the experimental, browser-specific version (which it will likely still support to be backwards-compatible).

    Putting the non-prefixed property last should ensure that it will override the vendor-prefixed implementation. :)

    Cheers!

  • Iyershruti

    Very helpful thanks:)

  • devzonefr

    Nice list !
    there is simply a newer version of “Eric Meyers CSS reset” (v2.0 | 20110126) including html5 tag.

    http://meyerweb.com/eric/tools/css/reset/

  • http://twitter.com/Thapelo_Daison Thapelo D. Molangeni

    I see some of these CSS snippets are CSS3, I don’t get it. Some of those styles won’t even work on IE8. Are we moving to fast into new technologies and leaving regular users behind, people who are supposed to be visiting our sites?. Maybe I’m too new in this web design/development industry and veterans don’t care about the regular user.

    • http://twitter.com/allfordesign Auré

      progressive enhancement / graceful degradation :)

    • http://profiles.google.com/nicktheandroid Nick Chamberlin

      IE8 users get flat color, make a message appear for all IE users warning them about their insecure, vulnerable, slow, and ugly web browser, then give them a link to chrome and tell them what they’re missing out on. IE is holding back the future.

  • http://www.studioweber.ro Alex Flueras

    This is quite useful. I do use most of them quite often but didn’t have the time to have them in one list. Thanks for sharing.

  • Pingback: NLM :: Some of the Finer Points of CSS :: NxT LvL MrktnG :: Raising Your Brand To The NxT LvL

  • http://giometri.com egiova

    Better than the cheat sheet I was planning to do this weekend. This IS useful, and you just saved my sunday, thanks for this and that… Your post is very well named.

  • Mark

    Love this!

  • http://twitter.com/paulkoso Paul Koso

    Neat lifesaver. Bookmarked it!

  • Pingback: links for 2011-04-15 « Stand on the shoulders of giants

  • Anonymous

    very nice and useful post..i use http://bit.ly/expT8s for the CSS3 snippets but what you mentioned are good for “real web development life”. ;)

  • Pingback: Códigos CSS para resolver las tareas más comunes y frustrantes « Hernán Galván

  • Scottyc1000

    I always find when working with floats to give the parent tag and overflow:auto to avoid issues with height and background-color properties. A break tag with a clear under the elements in the HTML does the same thing but I find this can be alot quicker. You can run into problems sometimes when you need floated child elements to overlap the outline of the parent object.

  • Eli

    This is going to come in very handy! Thanks for the resource :)

  • Chilzap

    AWESOME!!! Great cheat sheet for css!! Thanks alot..

  • http://pulse.yahoo.com/_EB5G64YL5BLAR5EMOMLURKWLWU T K

    Call me an idiot, but I don’t get the CSS Reset.

  • http://www.contussupport.com web development company

    Wow Simply an awesome cheat sheet. This what only i am looking for long time. Thanks for your great share.

  • Rochesterj

    I would add -ms-filter for opacity in IE8+ :D
    Great article!
    []‘s

  • Pingback: Tasty Bits of CSS Snippets | ChurchCode

  • Pingback: More Tasty Bits of CSS Snippets | ChurchCode

  • Pingback: Final Tasty Bits of CSS Snippets | ChurchCode

  • Pingback: NIS HIM ORI » CSS Cheat Sheet

  • http://www.grzybecki.com Grzybecki

    Helpful article! Thanks!

  • Omvaishnav

    A lot of things are here about the CSS and these are very useful… thanks for sharing…

  • Anonymous

    Nice round up of CSS tips and tricks, however the color and background reset may be a bit of overkill as you would then have to style every element that you didn’t want a white background / black foreground on ( divs tables, lists, paragraphs, headings etc ) and the use of !improtant would force you to have to use !important on any element you then wanted to style differently. A better approach would be :
    * {
    color: black;
    background:none;
    }

    This would still have the desired effect of reseting back to a level playing field, but without the problems.

  • http://twitter.com/ryan_blunden Ryan Blunden

    Thanks for taking the trouble to combine these excellent and practical CSS samples, brilliant!

  • Pingback: [CSS] 25 CSS Snippets for Some of the Most Common and Frustrating Tasks – 知ってると便利なCSSスニペット - mBlog

  • Siddikshaik

    Good one..!!!

    But IE8 will not support many things(Rounded Corners etc)

  • Atofoni

    Nice! some very useful thins in there, bookmarked for sure!
    One thing I would do though is use RGBA instead of opacity, using opacity makes everything inside that div the same opacity, so if you want a semi-transparent box with text, the text will be semi-transparent as well. Using RGBA for background color fixes this, the RGB stands for RED,GREEN,BLUE the A stands for ALPHA :)

  • Rob

    Great Article. I am not a fan of having to write out css for webkit, moz, and IE. BUT you have provided some great snippets to assist in all this monotony . I am going to add these to my dreamweaver snippets area.
    Thanks SOOO Much. People like you help remind me that the Open Source Community is still alive and thriving.

    Rob

  • CooArtists

    Thanks

  • http://www.rockitweb.co.uk Rockit Web

    Really useful list, Thanks =)

  • Naveen

    Great collection. Thanks for this. Btw, I found this great animation of moving clouds (all made in CSS3) and replicating the parallax effect! I loved it :) http://css-creations.com/item/68/moving-clouds-animation

  • CSSPop

    Nifty snippet collection.
    If anyone wants more snippets, or want to share their own, visit our CSS sharing site at CSSPop.

  • mdpatrick

    Please note that  ”Center certain content vertically” is in fact wrong. While the “source” page linked to *says* min-height is used, in reality their demo uses the height property. The reason for this is simple: in all major browsers, anything using the “table-cell” display will treat height like min-height, and min-height will not work at all.

  • http://superdit.com aditia

    So far I never code css gradient myself, I always use css gradient generator it easier to use, and give faster result

  • http://twitter.com/NIMSRULES Nirmal Shah

    Super awesome collection. Bookmarked, Printed and MSWord-saved :D