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.
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.
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.
- Triadic Background Setting with CSS3
- CSS Server-Side Pre-Processor6
- Advanced CSS Menu8
- Styling File Inputs with CSS and the DOM10
- A Savvy Approach to Copyright Messaging12
- Advanced CSS Menu Trick14
- CSS hover effect16
- Creating a table with dynamically highlighted columns like Crazy Egg’s pricing table18
- A Stripe of List Style Inspiration20
- Rediscovering the Button Element22
- Dynamic CSS With Variables
- A CSS styled table version 224
- CSS Step Menu26
- Creating bulletproof graphic link buttons with CSS | 456 Berea Street28
- Iconize Textlinks with CSS30
- Better Ordered Lists (Using Simple PHP and CSS)32
- Circular Menu with CSS34
- CSS Dock Menu38
- Digg-like navigation bar using CSS
- How to create VISTA style toolbar with CSS
- Fade Out Bottom40
- How to Style an A to Z Index with CSS42
- CSS List Boxes44
- How-to create a “Table of Contents” Navigation46
- CSS Recipe for Success48
- Partial Opacity50
- Simple Round CSS Links (Wii Buttons)52
- Drop Shadow CSS54
- CSS Double Lists56
- Perspective Text with CSS58
- Better Email Links: Featuring CSS Attribute Selectors60
- CSS: Menu Descriptions62
- CSS Transparency Settings for All Browsers64
- Custom Reading Containers66
- Eric Meyer’s CSS Reset67
- PNG Overlay69
- Turning Lists into Trees70
- Create Resizable Images With CSS72
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 different type of list and navbar styling. As stripes.
Geoffrey Grosenbach describes how you can integrate CSS variables in CSS coding — with Ruby on Rails.
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.
Links are fun, but sometimes we don’t know where they take us. With this little CSS technique a user can identify a link by its icon. The updated release of the technique.
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 tutorial explains how to design a digg-like navigation bar using a liquid design with rounded corners for links.
Reproducing Vista toolbar, with buttons and hover effect in cross-browser compatible CSS and (X)HTML.
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/2007/05/70-expert-ideas-for-better-css-coding-2/
- 3 http://silverbackapp.com/
- 4 http://www.wilsonminer.com/
- 5 http://silverbackapp.com/
- 6 http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor
- 7 http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor
- 8 http://www.webdesignerwall.com/tutorials/advanced-css-menu/
- 9 http://www.webdesignerwall.com/tutorials/advanced-css-menu/
- 10 http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
- 11 http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
- 12 http://powazek.com/posts/867
- 13 http://powazek.com/posts/867
- 14 http://www.3point7designs.com/blog/2007/12/22/advanced-css-menu-trick/
- 15 http://www.3point7designs.com/blog/2007/12/22/advanced-css-menu-trick/
- 16 http://veerle.duoh.com/blog/comments/css_hover_effect/
- 17 http://veerle.duoh.com/blog/comments/css_hover_effect/
- 18 http://www.askthecssguy.com/2007/08/creating_a_table_with_dynamica.html
- 19 http://www.askthecssguy.com/2007/08/creating_a_table_with_dynamica.html
- 20 http://www.wpdfd.com/issues/82/list_style_inspiration/
- 21 http://www.wpdfd.com/issues/82/list_style_inspiration/
- 22 http://particletree.com/features/rediscovering-the-button-element/
- 23 http://particletree.com/features/rediscovering-the-button-element/
- 24 http://veerle.duoh.com/blog/comments/a_css_styled_table_version_2/
- 25 http://veerle.duoh.com/blog/comments/a_css_styled_table_version_2/
- 26 http://codylindley.com/CSS/325/css-step-menu
- 27 http://codylindley.com/CSS/325/css-step-menu
- 28 http://www.456bereastreet.com/archive/200705/creating_bulletproof_graphic_link_buttons_with_css/
- 29 http://www.456bereastreet.com/archive/200705/creating_bulletproof_graphic_link_buttons_with_css/
- 30 http://pooliestudios.com/projects/iconize/
- 31 http://pooliestudios.com/projects/iconize/
- 32 http://css-tricks.com/better-ordered-lists-using-simple-php-and-css/
- 33 http://css-tricks.com/better-ordered-lists-using-simple-php-and-css/
- 34 http://metalize.liveonstyle.com/2007/03/22/menu-circular-en-css/
- 35 http://metalize.liveonstyle.com/2007/03/22/menu-circular-en-css/3/
- 36 http://metalize.liveonstyle.com/wp-content/uploads/2007/03/index.html
- 37 http://metalize.liveonstyle.com/2007/03/22/menu-circular-en-css/
- 38 http://www.ndesign-studio.com/blog/mac/css-dock-menu
- 39 http://www.ndesign-studio.com/blog/mac/css-dock-menu
- 40 http://css-tricks.com/examples/FadeOutBottom/
- 41 http://css-tricks.com/examples/FadeOutBottom/
- 42 http://www.smileycat.com/miaow/archives/000211.php
- 43 http://www.smileycat.com/miaow/archives/000211.php
- 44 http://mikecherim.com/gbcms_xml/news_page.php?id=24#n24
- 45 http://mikecherim.com/gbcms_xml/news_page.php?id=24#n24
- 46 http://5thirtyone.com/archives/776
- 47 http://5thirtyone.com/archives/776
- 48 http://www.search-this.com/2007/11/26/css-a-recipe-for-success/
- 49 http://www.search-this.com/2007/11/26/css-a-recipe-for-success/
- 50 http://www.cssplay.co.uk/opacity/png.html
- 51 http://www.cssplay.co.uk/opacity/png.html
- 52 http://www.hedgerwow.com/360/dhtml/css-round-button/demo.php
- 53 http://www.hedgerwow.com/360/dhtml/css-round-button/demo.php
- 54 http://www.phoenity.com/newtedge/drop_shadow/
- 55 http://www.phoenity.com/newtedge/drop_shadow/
- 56 http://mikecherim.com/experiments/css_double_lists.php
- 57 http://mikecherim.com/experiments/css_double_lists.php
- 58 http://mikecherim.com/gbcms_xml/news_page.php?id=30#n30
- 59 http://mikecherim.com/gbcms_xml/news_page.php?id=30#n30
- 60 http://css-tricks.com/better-email-links-featuring-css-attribute-selectors/
- 61 http://css-tricks.com/better-email-links-featuring-css-attribute-selectors/
- 62 http://mikecherim.com/experiments/css_menu_descriptions.php#
- 63 http://mikecherim.com/experiments/css_menu_descriptions.php
- 64 http://css-tricks.com/css-transparency-settings-for-all-broswers/
- 65 http://css-tricks.com/css-transparency-settings-for-all-broswers/
- 66 http://www.devlounge.net/articles/custom-reading-containers
- 67 http://meyerweb.com/eric/tools/css/reset/
- 68 http://meyerweb.com/eric/tools/css/reset/
- 69 http://sonspring.com/journal/png-overlay
- 70 http://odyniec.net/articles/turning-lists-into-trees/
- 71 http://odyniec.net/articles/turning-lists-into-trees/
- 72 http://www.smileycat.com/miaow/archives/000648.php
- 73 http://www.smileycat.com/miaow/archives/000648.php
Hold on, Tiger! Thank you for reading the article. Did you know that we also publish printed books and run friendly conferences – crafted for pros like you? Like SmashingConf Barcelona, on October 25–26, with smart design patterns and front-end techniques.