Sometimes being a web-developer is just damn hard. Particularly coding is often responsible for slowing down our workflow, reducing the quality of our work and sleepless nights with pizza and coffee laying around the laptop. Reason: with a number of incompatibility issues and quite creative rendering engines it sometimes takes too much time to find a workaround for some problem without addressing browsers with quirky hacks. And that’s where ready-to-use solutions developed by other designers come in handy. [Content Care Nov/03/2016]
One year ago we’ve published the post with 53 CSS-Techniques You Couldn’t Live Without1 where we provided references to the most useful CSS-techniques which are often used in almost every project. Over the last year we’ve been observing what’s happening with the CSS-based web-development, and we collected most useful CSS-techniques we’ve stumbled upon — for us and for our readers.
Further Reading on SmashingMag: Link
- 50 New Useful CSS Techniques, Tutorials and Tools2
- 50 New CSS Techniques For Your Next Web Design3
- 50 Useful Coding Techniques (CSS Layouts, Visual Effects and Forms)4
- 50 Useful Tools and Resources For Web Designers5
In this post we present 50 new CSS-techniques, ideas and ready-to-use solutions for effective coding. You definitely know some of them, but definitely not all of them. Some technique is missing? Let us know in the comments to this post.
Derek Powazek suggests adding a copyright message to a photo and use CSS to crop its view. This is supposed to accomplish the goal of adding robust copyright information without defacing your own work.
What we want to do here, is instead of simply altering the state of the navigation item the user is currently rolling over, we want to alter the non navigation items as well.
A method of designing the so-called, which have some steps users have to go through in order to achieve some aim. This menu offers a varying amount of steps, dependent upon the type of user accessing the application.
Ordered lists are boring! Sure you can apply background images and do quite a bit of sprucing up to a regular ordered list, but you just don’t get enough control over the number itself.
This is a demonstration of the effect where the bottom of the page seems to fade out. The technique makes use of an fixed position div (bottom: 0%) with a transparent PNG image and a high z-index value.
Using a simple unordered list this experiment aligns the boxes across the page with the end result being to showcase items like services, products, or specials. One of cool thing about this — if you turn off styles — is the extractable semantics with the headings and paragraphs used.
In as little as 8 lines of HTML, and 5 lines of CSS, the Table Of Contents Navigation block can be integrated in your site ready for even more styling.
Learn how to generate code for displaying the e-mail automatically once mailto is used. CSS Attribute Selectors in action which is not supported by Internet Explorer 6 and 7.
Further Techniques Link
This amazing little script allows the user to resize any container.
Create a transparent PNG overlay which can be used as a mask / frame around regular JPEG or GIF so users can upload photos without having to worry about using any graphics program to apply filters, plus it saves time.
- 1 /2007/01/19/53-css-techniques-you-couldnt-live-without/
- 2 https://www.smashingmagazine.com/2010/10/50-new-useful-css-techniques-tutorials-and-tools/
- 3 https://www.smashingmagazine.com/2009/07/50-new-css-techniques-for-your-next-web-design/
- 5 https://www.smashingmagazine.com/2010/07/50-useful-tools-and-resources-for-web-designers/
- 6 https://www.smashingmagazine.com/2007/05/70-expert-ideas-for-better-css-coding-2/
- 7 http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor
- 8 http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor
- 9 http://www.webdesignerwall.com/tutorials/advanced-css-menu/
- 10 http://www.webdesignerwall.com/tutorials/advanced-css-menu/
- 11 http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
- 12 http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
- 13 http://powazek.com/posts/867
- 14 http://powazek.com/posts/867
- 15 http://www.3point7designs.com/blog/2007/12/22/advanced-css-menu-trick/
- 16 http://www.3point7designs.com/blog/2007/12/22/advanced-css-menu-trick/
- 17 http://veerle.duoh.com/blog/comments/css_hover_effect/
- 18 http://veerle.duoh.com/blog/comments/css_hover_effect/
- 19 http://www.askthecssguy.com/2007/08/creating_a_table_with_dynamica.html
- 20 http://www.askthecssguy.com/2007/08/creating_a_table_with_dynamica.html
- 21 http://particletree.com/features/rediscovering-the-button-element/
- 22 http://particletree.com/features/rediscovering-the-button-element/
- 23 http://veerle.duoh.com/blog/comments/a_css_styled_table_version_2/
- 24 http://veerle.duoh.com/blog/comments/a_css_styled_table_version_2/
- 25 http://codylindley.com/CSS/325/css-step-menu
- 26 http://codylindley.com/CSS/325/css-step-menu
- 27 http://www.456bereastreet.com/archive/200705/creating_bulletproof_graphic_link_buttons_with_css/
- 28 http://www.456bereastreet.com/archive/200705/creating_bulletproof_graphic_link_buttons_with_css/
- 29 http://css-tricks.com/better-ordered-lists-using-simple-php-and-css/
- 30 http://css-tricks.com/better-ordered-lists-using-simple-php-and-css/
- 31 http://www.ndesign-studio.com/blog/mac/css-dock-menu
- 32 http://www.ndesign-studio.com/blog/mac/css-dock-menu
- 33 http://css-tricks.com/examples/FadeOutBottom/
- 34 http://css-tricks.com/examples/FadeOutBottom/
- 35 http://www.smileycat.com/miaow/archives/000211.php
- 36 http://www.smileycat.com/miaow/archives/000211.php
- 37 http://mikecherim.com/gbcms_xml/news_page.php?id=24#n24
- 38 http://mikecherim.com/gbcms_xml/news_page.php?id=24#n24
- 39 http://5thirtyone.com/archives/776
- 40 http://5thirtyone.com/archives/776
- 41 http://www.search-this.com/2007/11/26/css-a-recipe-for-success/
- 42 http://www.search-this.com/2007/11/26/css-a-recipe-for-success/
- 43 http://www.cssplay.co.uk/opacity/png.html
- 44 http://www.cssplay.co.uk/opacity/png.html
- 45 http://mikecherim.com/experiments/css_double_lists.php
- 46 http://mikecherim.com/experiments/css_double_lists.php
- 47 http://mikecherim.com/gbcms_xml/news_page.php?id=30#n30
- 48 http://mikecherim.com/gbcms_xml/news_page.php?id=30#n30
- 49 http://css-tricks.com/better-email-links-featuring-css-attribute-selectors/
- 50 http://css-tricks.com/better-email-links-featuring-css-attribute-selectors/
- 51 http://mikecherim.com/experiments/css_menu_descriptions.php#
- 52 http://mikecherim.com/experiments/css_menu_descriptions.php
- 53 http://css-tricks.com/css-transparency-settings-for-all-broswers/
- 54 http://css-tricks.com/css-transparency-settings-for-all-broswers/
- 55 http://www.devlounge.net/articles/custom-reading-containers
- 56 http://meyerweb.com/eric/tools/css/reset/
- 57 http://meyerweb.com/eric/tools/css/reset/
- 58 http://sonspring.com/journal/png-overlay
- 59 http://odyniec.net/articles/turning-lists-into-trees/
- 60 http://odyniec.net/articles/turning-lists-into-trees/
- 61 http://www.smileycat.com/miaow/archives/000648.php
- 62 http://www.smileycat.com/miaow/archives/000648.php