53 CSS-Techniques You Couldn’t Live Without

Advertisement

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: June/11 2008.

You might want to take a look at the article Powerful CSS-Techniques For Effective Coding.

1. CSS Based Navigation

CSS-Technique

2. Navigation Matrix Reloaded

CSS-Technique

3. CSS Tabs

CSS-Technique

4. CSS For Bar Graphs

CSS-Technique

5. Collapsing Tables: An Example

CSS-Technique

6. Adam’s Radio & Checkbox Customisation Method

CSS-Technique

7. CSS Image Replacement

CSS-Technique

8. CSS Shadows (CSS Shadows Roundup)

CSS-Technique

9. CSS Rounded Corners Roundup (Nifty Corners)

CSS-Technique

10. Drop Cap – Capital Letters with CSS

CSS-Technique

11. Define Image Opacity with CSS

CSS-Technique

12. How to Create a Block Hover Effect for a List of Links

CSS-Technique

13. Pullquotes with CSS (Automatic Pullquotes with JavaScript and CSS

CSS-Technique

14.CSS Diagrams

CSS-Technique

15. CSS Curves

CSS-Technique

16. Footer Stick 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.

CSS-Technique

17. CSS Image Map

CSS-Technique

18. CSS Image Pop-Up

CSS-Technique

19. CSS Image Preloader


CSS-Technique

20. CSS Image Replacement for Buttons

CSS-Technique

21. Link Thumbnail

CSS-Technique

22. CSS Map Pop

CSS-Technique

23. PHP-based CSS Style Switcher

CSS-Technique

24. CSS Unordered List Calender (CSS Styled Calender)

CSS-Technique

25. CSS-Based Forms: Techniques

CSS-Technique

26. CSS-Based Tables: Techniques

CSS-Technique

27. Printing Web-Documents and CSS

CSS-Technique

28. Improved Links-Display for Print-Layouts with CSS

CSS-Technique

29. CSS-Submit Buttons
CSS-Technique

30. CSS Teaser Box

CSS-Technique

31. CSS Tricks for Custom Bullets

CSS-Technique

32. Ticked Off Links Reloaded

CSS-Technique

33. CSS Zooming

CSS-Technique

34. Creating a Star Rater using CSS

CSS-Technique

35. The ways to style visited Links

CSS-Technique

36. PDF, ZIP, DOC Links Labeling

CSS-Technique

37. Displaying Percentages with CSS


CSS-Technique

38. Image Floats without the Text Wrap

CSS-Technique

39. Let visitors decide, whether or not will they open link in a new window

CSS-Technique

40. Simple accessible external links

CSS-Technique

41. Zebra Table with JavaScript and CSS

CSS-Technique

42. Vertical Centering with CSS (Horizontal and Vertical Centering with CSS

CSS-Technique

43. Unobtrusive Sidenotes

CSS-Technique

44. Image Caption with CSS (Styled Images with Caption)

CSS-Technique

45. Dynamic Piechart with CSS

CSS-Technique

46. Format Footnotes with CSS

CSS-Technique

47. Hierarchical Sitemap with CSS

CSS-Technique

48. Snook’s Resizable Underlines

CSS-Technique

49. Switchy McLayout: An Adaptive Layout Technique

CSS-Technique

50. StyleMap: CSS+HTML Visual Sitemap

CSS-Technique

51. Custom Reading Width

CSS-Technique

52. CSS Alert Message

CSS-Technique

53. CSS Production Notes

CSS-Technique

Vitaly Friedman loves beautiful content and doesn’t like to give in easily. Vitaly is writer, speaker, author and editor-in-chief of Smashing Magazine, an online magazine dedicated to designers and developers.

  1. 251

    I am about to embark on a CSS learning curve of excellence thanks to this list!

    +8
  2. 252

    Great and excellent article it’s realy helpful. Thanks again.

    +2
  3. 253

    Tons of resources here. Thanks!!

    0
  4. 254

    Roland Schupp

    May 28th, 2008 11:25 pm

    Thx a lot for another great resource. I am again surprised how much benefit a webdesigner can get out ouf your magazine.

    0
  5. 255

    sachin khobragade

    May 30th, 2008 3:51 am

    it’s really a great stuff !

    -1
  6. 256

    Pattern Crochet

    June 3rd, 2008 12:48 am

    Thanks for very interesting article. I really enjoyed reading all of your articles. Keep up the good work. See You

    0
  7. 257

    Jaspal Singh

    June 9th, 2008 1:54 am

    wow ! … i think i will have to brush up my skills … thnx

    -2
  8. 258

    very useful tricks! Thank you! but in CSS I prefer to use as little pics as design can.

    0
  9. 259

    cool techniques . Keep up the good work.

    0
  10. 260

    This list is orgasmic. Bookmarking in every single social bookmarking service I have an account with. I cannot afford to lose this!!

    +5
  11. 261

    Good TEchniques!

    +1
  12. 262

    Great list, but I’d like to see some better examples of some table-based forms as well. Not everyone wants to spend 3 weeks styling a “pure” css form with multiple columns.

    0
  13. 263

    Tilemahos Manolatos

    July 23rd, 2008 6:37 am

    excellent collection!

    0
  14. 264

    I Will use this in my website.

    0
  15. 265

    great source!

    0
  16. 266

    Great work! the 300+ responses says it all!

    I will be back for more….

    Thank you.

    0
  17. 267

    You definitely put a lot of work into collecting a bunch of tutorials. There is a ridiculous amount of “wow” commenting here and at the risk of getting lost in the mix I really have to stress that everyone starts moving towards some web standards and check out the jQuery library.

    -2
  18. 268

    Great list… i’ll bookmark your site… thanks

    -2
  19. 269

    it ‘s powerfull!
    Thank you so much!

    -2
  20. 270

    thank you so much 2!aa

    -3
  21. 271

    Considering alot of these use and NEED Javascript, i wouldn’t call them CSS Techniques… CSS is just handy to manipulate via JS but these are not a OUT of the Box working tricks of pure CSS, they just plain need JS to work, but still handy to have that option.

    -2
  22. 272

    Üzeyir özkol

    October 4th, 2008 5:37 am

    Thank You

    -2
  23. 273

    really is tremendous work in css i was so excitted to learn css really
    really really really thanks…

    -2
  24. 274

    :O

    mega list :)

    juz wiem co bede siekal przez kilka dni :D

    -1
  25. 275

    Thanks so much

    -1
  26. 276

    Wonderful !

    -3
  27. 277

    Wow what a fantastic inventory, you’ll be saving me a shed load of time, much appreciated!

    -3
  28. 278

    wow !!
    great !!
    thank U !!
    gogo~book mark~
    ——–in korean
    와우 !!
    멋져요!!
    고마워요!!
    북마크 고고씽~

    -1
  29. 279

    really awesome work……. a good collection of work. i have made use of lot of technique given here to create my personal page with admiring styles. thanks to all the persons behind this collection……

    -2
  30. 280

    Excellent collection of CSS. Its helps me a lot in knowing more about CSS. I hope for more collections in future.
    In the end, Great Job!!!!!

    -1
  31. 281

    Great list! Very interesting things.

    Thank you very much for this great work!!!

    -1
  32. 282

    Excellent list, very helpful for me. Many CSS techniques were unknown for me and will surely help me on some future projects! :)

    0
  33. 283

    Gr8 work indeed..
    Cool CSS tricks & Nice techniques…. right here!!!

    అదిరింది గురూ!
    (in telugu)

    -1
  34. 284

    its great work……………
    can i have a code of this?????
    its really excellent…….. great!!!!!!!!!!!

    -1
  35. 285

    really very helpful tutorial

    -1
  36. 286

    Its very great work.
    can i have a code of this samples?????

    -1
  37. 287

    great collection, thanks…

    -1
  38. 288

    francis.augustin

    December 14th, 2008 11:12 pm

    nice

    -1
  39. 289

    I’m the #1000 comment!

    -1
  40. 290

    really fantastic….and usefull…thanks for this

    -2
  41. 291

    YOU ! ARE ! AWSOME ! THANKS !

    -1
  42. 292

    This very wonderful tutorial.

    -1
  43. 293

    impressive.

    -1
  44. 294

    Amber Weinberg

    January 2nd, 2009 7:27 pm

    Awesome list! I didn’t even know you could do some of this stuff with CSS!

    0
  45. 295

    Finally a useful article with useful information!! Thanks :-)

    0
  46. 296

    That’s wat i’m talking about , Smashing , Just one word
    Awesome
    Thanks , we need alot of this cool posts

    0
  47. 297

    Finally, someone who puts all the knowledge in one place.
    i My self am a web designer for some time now (Since 1999) and i wanted to launch a page like that for CSS a long time ago, but i became lazy.
    Thumbs up, really good job, just keep it posted.

    0
  48. 298

    Fantastic!

    0
  49. 299

    Really great.Thanks a lot. We needed them so much.

    0
  50. 300

    Thank you!! Great list to keep as a reference.

    0
  51. 301

    great lists ! got some new tricks even .. thanks for sharing …

    0
  52. 302

    Excellent list..

    0
  53. 303

    strony internetowe wrocław

    March 4th, 2009 8:26 am

    Great list to keep as a reference.

    0
  54. 304

    Still a great list! Where’s the “even more CSS techniques” :)

    +1
  55. 305

    no.1000

    very nice and useful list. thx

    0
  56. 306

    strony internetowe

    April 21st, 2009 7:50 am

    nice tutorial :)

    0
  57. 307

    Great !! Thanks !

    0
  58. 308

    gracias ^^
    thanks

    0
  59. 309

    Great Article …….. Thanks a lot

    0
  60. 310

    Armig Esfahani

    June 27th, 2009 10:12 pm

    thank you! this is exactly what i needed!

    0
  61. 311

    lot of thanks for these usefull informations!!!

    0
  62. 312

    love this! nice compilation… really helpful… thanks so much… :)

    0
  63. 313

    That’s cool!

    0
  64. 314

    Great compilation of CSS Tecnhiques

    0
  65. 315

    really nice techniques
    thanks

    0
  66. 316

    Great list, very helpful, thanks a lot!

    0
  67. 317

    it’s just great collection of CSS , Wonderfull i was not knowing many of thsi tecniques can u provides sources for all

    Moinuddin
    KSA

    0
  68. 318

    The 19th technique (CSS Image Preloader) dont work and will not work. If you repeat an antribute in CSS, it will every time take just the last one…

    0
  69. 319

    The link to number 37 is: http://www.barenakedapp.com/the-design/displaying-percentages. Check it out and leave your thanks on the thread.

    0
  70. 320

    Nice list, looks like the one i’m using :-) good post

    0
  71. 321

    Great list! Lots of useful info here.

    0
  72. 322

    I likes to farts while traveling 40 mph.

    0
  73. 323

    Hi, nice post, very usefull!

    There are some links are broken, or dont exists anymore:
    I don’t look to everyone, but these are some of them:

    - 12. How to Create a Block Hover… Correct link is: http://www.smileycat.com/miaow/archives/000230.php
    - 29. CSS-Submit Buttons: http://www.ukthoughts.co.uk/journal/css-submit-buttons

    0
  74. 324

    tanx for techniques…these are very useful to me…:D

    0
  75. 325

    tanx for techniques…these are very useful to me…:D

    0
  76. 326

    Great list. tons of thanks

    0
  77. 327

    this is more like a joke

    December 24th, 2009 10:53 am

    hi mate,

    Great effort to put up an article. Your doing it not well at all. Some of the sample u showed, need javaxcript to run. So this should be call css and javascript techniques.

    0
  78. 328

    This is a great list. Can you add “sticky footer” to this list?

    0
  79. 329

    Wow, thas very wonderful, i trying to learn css, that example, will help me.

    0
  80. 330

    What can I say about this great work !!! … superb … absolutely superb

    0
  81. 331

    This are great techniques . Keep up the good work. & thanks for sharing

    0
  82. 332

    Thanks!!!!!!!!!

    0
  83. 333

    Nice links very useful for designers. please inform to me any new updates are added.

    0
  84. 334

    I will use some of this tips on my site atestatinfo.ro

    0
  85. 335

    Nice collection.
    Useful for designers.

    0
  86. 336

    Hi!
    number 37 subject “Displaying Percentages with CSS” I could not understand it :(

    0
  87. 337

    wow.. amazing, thanks a lot

    0
  88. 338

    very very very very veryyyyyyyyyyyyyyyyy thanks

    0
  89. 339

    Simply amazing and awesome!

    0
  90. 340

    Thx a lot for another great resource. I am again surprised how much benefit a webdesigner can get out ouf your magazine.

    0
  91. 341

    nice…………..

    0
  92. 342

    mantrla srinivas yadhav

    July 2nd, 2010 2:58 am

    hi technical guides yours new tips and new creative designs are very good and excellent css optimizing tips.

    0
  93. 343

    good one… great

    0
  94. 344

    useful resource. I bookmarked it

    0
  95. 345

    very nice collection, i add some others recently i´ve posted on my website if you want a deep study check it out, its on spanish btw

    -1
  96. 346

    Andrew Henderson

    September 2nd, 2010 11:01 am

    Awesome list here. Some really useful stuff. I would recommend anyone wanting to learn CSS go down the line and try these tutorials. Thanks for collecting them!

    +1
  97. 347

    The link on number 8 is flagged as a reported attack page in Firefox.

    0
  98. 348

    You have written a very informative post about logo design tips. I came across your blog while searching via google.com . I have bookmarked your site and sent the link to some of my colleagues are will also find that useful.

    0
  99. 349

    I have gone through the list and that’s really a great list. I will save this link for future reference.

    0
  100. 350

    This is really one of many improved content connected with those that I have please read on this kind of matter nowadays. Great do the job.

    0
  101. 351

    nice tips, I enjoyed completely. post something more on css 3.0 also.
    Thanks a lot,
    from ADMEC Multimedia Mentors

    +1
  102. 352

    These are perfect! I nwo have so many new ideas.

    +1
  103. 353

    Great CSS techniques! THX

    0
  104. 354

    Preston Racette

    December 17th, 2010 1:20 pm

    For # 25. (CSS-Based Forms: Techniques) I think it looks amazing… so simple yet stylish and proffestional. The other articles are amazing too. Keep up the good work!
    prestonracette.com/

    +1
  105. 355

    Great Excellent CSS techniques, Thanks a lot for improve my CSS Knowledge… Keep it up and add something more I am waiting for new….

    0
  106. 356

    Keep it up, your writing is consistently a pleasure to read that I perhaps told my friends. Just enjoying this!

    +1
  107. 357

    man and van this is great for me i didnt know few thisnk mentioned here thanks

    0
  108. 358

    designerbooster

    February 3rd, 2011 3:17 pm

    Thanks for these css tips. Was looking for a batch list like this well done.

    0
  109. 359

    Hi,
    I want to use same like( “50. StyleMap: CSS+HTML Visual Sitemap”). but here I cant find specified link. its showing Page is not available. so could you please help me to get that simmillar page. Thanks in advenace. 50. StyleMap: CSS+HTML Visual Sitemap

    0
  110. 360

    Ulises Bolivar

    March 2nd, 2011 4:08 pm

    INTERESANTE APORTE

    0
  111. 361

    very nice collection

    0
  112. 362

    Simply Great Article

    Thanks

    0
  113. 363

    tahnks for share

    0
  114. 364

    any thing new related to image rounded corners.

    0
  115. 365

    Hi its vary good. i would also like to share one basic css website http://cssproperty.com

    0
  116. 366

    Hi there, outstanding site. Is extremely good design. I recently got done with cosmetic classes and would like to start-up my site. I appreciate you for the good write-up!

    0
  117. 367

    wonderful info for me…

    0
  118. 368

    Joshua Phillips

    December 5th, 2011 11:36 pm

    Any news about A defector’s mystical disappearance?

    0
  119. 369

    Good post, Love it. Keep it up. I appreciate it.

    0
  120. 370

    You have pretty nice blog here. Not bad keep it up. I will mention about this in my own blog. All the best

    0
  121. 371

    This is a very useful reference – thanks for sharing

    0

  1. 1

    I am about to embark on a CSS learning curve of excellence thanks to this list!

    +8
  2. 2

    This list is orgasmic. Bookmarking in every single social bookmarking service I have an account with. I cannot afford to lose this!!

    +5
  3. 3

    Great and excellent article it’s realy helpful. Thanks again.

    +2
  4. 4

    Very good article that i have posted on my blog. Thanks for the information.
    Regards

    +1
  5. 5

    Good TEchniques!

    +1
  6. 6

    Still a great list! Where’s the “even more CSS techniques” :)

    +1
  7. 7

    Andrew Henderson

    September 2nd, 2010 11:01 am

    Awesome list here. Some really useful stuff. I would recommend anyone wanting to learn CSS go down the line and try these tutorials. Thanks for collecting them!

    +1
  8. 8

    Keep it up, your writing is consistently a pleasure to read that I perhaps told my friends. Just enjoying this!

    +1
  9. 9

    Preston Racette

    December 17th, 2010 1:20 pm

    For # 25. (CSS-Based Forms: Techniques) I think it looks amazing… so simple yet stylish and proffestional. The other articles are amazing too. Keep up the good work!
    prestonracette.com/

    +1
  10. 10

    nice tips, I enjoyed completely. post something more on css 3.0 also.
    Thanks a lot,
    from ADMEC Multimedia Mentors

    +1
  11. 11

    These are perfect! I nwo have so many new ideas.

    +1

Leave a Comment

Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!

↑ Back to top