53 CSS-Techniques You Couldn’t Live Without
- By Vitaly Friedman
- January 19th, 2007
- 374 Comments
CSS is important. And it is being used more and more often. Cascading Style Sheets offer many advantages you don’t have in table-layouts – and first of all a strict separation between layout, or design of the page, and the information, presented on the page. Thus the design of pages can be easily changed, just replacing a css-file with another one. Isn’t it great? Well, actually, it is.
Over the last few years web-developers have written many articles about CSS and developed many useful techniques, which can save you a lot of time – of course, if you are able to find them in time. Below you’ll find a list of techniques we , as web-architects, really couldn’t live without. They are essential and they indeed make our life easier. Let’s take a look at 53 CSS-based techniques you should always have ready to hand if you develop web-sites. Links checked: Dec 2015.
You might want to take a look at the article Powerful CSS-Techniques For Effective Coding1.
32. Navigation Matrix Reloaded4
5
7
95. Collapsing Tables: An Example10
11
138. CSS Shadows (CSS Shadows Roundup14)

9. CSS Rounded Corners Roundup15 (Nifty Corners16)
1710. Drop Cap – Capital Letters with CSS

11. Define Image Opacity with CSS

12. How to Create a Block Hover Effect for a List of Links18
1914.CSS Diagrams

15. CSS Curves20
2116. Footer Stick22 allows for the footer of a Web page to appear either at the bottom of the browser window or the bottom of the Web page content – whichever is visually lowest.
2317. CSS Image Map24
25
2720. CSS Image Replacement for Buttons

22. CSS Map Pop28
2923. PHP-based CSS Style Switcher30
3124. CSS Unordered List Calender32 (CSS Styled Calender33)
3427. Printing Web-Documents and CSS35
3628. Improved Links-Display for Print-Layouts with CSS37
3829. CSS-Submit Buttons

30. CSS Teaser Box39
4031. CSS Tricks for Custom Bullets41
4232. Ticked Off Links Reloaded43
4433. CSS Zooming45
4634. Creating a Star Rater using CSS47
4835. The ways to style visited Links49
5036. PDF, ZIP, DOC Links Labeling51
5238. Image Floats without the Text Wrap53
5439. Let visitors decide, whether or not will they open link in a new window55
5640. Simple accessible external links57
5841. Zebra Table with JavaScript and CSS59
6042. Vertical Centering with CSS61 (Horizontal and Vertical Centering with CSS62
6345. Dynamic Piechart with CSS64
6546. Format Footnotes with CSS66
6748. Snook’s Resizable Underlines68
6949. Switchy McLayout: An Adaptive Layout Technique70
7150. StyleMap: CSS+HTML Visual Sitemap72
73
75
77
79Footnotes Link
- 1 https://www.smashingmagazine.com/2008/02/21/powerful-css-techniques-for-effective-coding/
- 2 /2015/09/mobile-navigation-for-smashing-magazine/
- 3 /2015/09/mobile-navigation-for-smashing-magazine/
- 4 http://superfluousbanter.org/archives/2004/05/navigation-matrix-reloaded/
- 5 http://superfluousbanter.org/archives/2004/05/navigation-matrix-reloaded/
- 6 http://exploding-boy.com/images/cssmenus/menus.html
- 7 http://exploding-boy.com/images/cssmenus/menus.html
- 8 http://applestooranges.com/blog/post/css-for-bar-graphs/?id=55
- 9 http://applestooranges.com/blog/post/css-for-bar-graphs/?id=55
- 10 http://icant.co.uk/sandbox/footercollapsetables/
- 11 http://icant.co.uk/sandbox/footercollapsetables/
- 12 http://www.mezzoblue.com/tests/revised-image-replacement/
- 13 http://www.mezzoblue.com/tests/revised-image-replacement/
- 14 http://web-graphics.com/mtarchive/001589.php
- 15 http://www.smileycat.com/miaow/archives/000044.php#nojavascript
- 16 http://www.smileycat.com/miaow/archives/000044.php#nojavascript
- 17 http://www.smileycat.com/miaow/archives/000044.php#nojavascript
- 18 http://www.smileycat.com/miaow/archives/000230.php
- 19 http://www.smileycat.com/miaow/archives/000230.php
- 20 http://storage.couchfort.net/cssCurves/
- 21 http://storage.couchfort.net/cssCurves/
- 22 http://www.themaninblue.com/experiment/footerStickAlt/
- 23 http://www.themaninblue.com/experiment/footerStickAlt/
- 24 http://www.frankmanno.com/ideas/css-imagemap/
- 25 http://www.frankmanno.com/ideas/css-imagemap/
- 26 http://snipplr.com/view/2122/css-image-preloader/
- 27 http://snipplr.com/view/2122/css-image-preloader/
- 28 http://mikecherim.com/experiments/css_map_pop.php
- 29 http://mikecherim.com/experiments/css_map_pop.php
- 30 http://mikecherim.com/gbcms_xml/news_page.php?id=12
- 31 http://mikecherim.com/gbcms_xml/news_page.php?id=12
- 32 http://mikecherim.com/gbcms_xml/news_page.php?id=0
- 33 http://veerle.duoh.com/blog/comments/a_css_styled_calendar/
- 34 http://mikecherim.com/gbcms_xml/news_page.php?id=0
- 35 http://css-discuss.incutio.com/?page=PrintStylesheets
- 36 http://css-discuss.incutio.com/?page=PrintStylesheets
- 37 http://www.alistapart.com/articles/improvingprint/
- 38 http://www.alistapart.com/articles/improvingprint/
- 39 http://www.456bereastreet.com/lab/teaser/
- 40 http://www.456bereastreet.com/lab/teaser/
- 41 http://www.macworld.com/2005/12/secrets/januarycreate/index.php
- 42 http://www.macworld.com/2005/12/secrets/januarycreate/index.php
- 43 http://www.colly.com/index.php?/weblog/comments/ticked_off_links_reloaded
- 44 http://www.colly.com/index.php?/weblog/comments/ticked_off_links_reloaded
- 45 http://www.deltatangobravo.com/images/zoom/
- 46 http://www.deltatangobravo.com/images/zoom/
- 47 http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/
- 48 http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/
- 49 http://webdesign.maratz.com/lab/visited_links_styling/
- 50 http://webdesign.maratz.com/lab/visited_links_styling/
- 51 http://webdesign.maratz.com/lab/pdf_links_labeling/
- 52 http://webdesign.maratz.com/lab/pdf_links_labeling/
- 53 http://ghettocooler.net/2005/11/13/image-floats-without-the-text-wrap/
- 54 http://ghettocooler.net/2005/11/13/image-floats-without-the-text-wrap/
- 55 http://webdesign.maratz.com/lab/new_window_link/
- 56 http://webdesign.maratz.com/lab/new_window_link/
- 57 http://www.maxdesign.com.au/presentation/external/
- 58 http://www.maxdesign.com.au/presentation/external/
- 59 http://24ways.org/2005/splintered-striper
- 60 http://24ways.org/2005/splintered-striper
- 61 http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
- 62 http://www.456bereastreet.com/lab/centered/both/
- 63 http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
- 64 http://petewilliamsagency.com/css/examples/pie/
- 65 http://petewilliamsagency.com/css/examples/pie/
- 66 http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
- 67 http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
- 68 http://www.colly.com/index.php?/weblog/comments/snooks_resizable_underlines/
- 69 http://www.colly.com/index.php?/weblog/comments/snooks_resizable_underlines/
- 70 http://www.alistapart.com/articles/switchymclayout
- 71 http://www.alistapart.com/articles/switchymclayout
- 72 http://www.scottjehl.com/v7/index.php/process/stylemap_visual_sitemap/
- 73 http://www.scottjehl.com/v7/index.php/process/stylemap_visual_sitemap/
- 74 http://www.devlounge.net/articles/custom-reading-width-beta
- 75 http://www.devlounge.net/articles/custom-reading-width-beta
- 76 http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/
- 77 http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/
- 78 http://24ways.org/2006/css-production-notes
- 79 http://24ways.org/2006/css-production-notes

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 Oxford, on March 15—16, with smart design patterns and front-end techniques.
