Thursday, November 11, 2010

Push Your Web Design Into The Future With CSS3

There are exciting new features in the pipeline for Cascading Style Sheets that will allow for an explosion of creativity in Web design. These features include CSS styling rules that are being released with the upcoming CSS3 specification. Realistically, you won’t be able to use these on your everyday client projects for another few years, but for design blogs and websites aimed at the Web design community, these features can help you push the boundaries of modern Web design today, adding that extra spice to your design and helping the industry move forward.

Here are five techniques snatched from the future that you can put into practice in your website designs today.

1. Border Radius

Border-radius in Push Your Web Design Into The Future With CSS3

Probably the most common CSS3 feature currently being used is border-radius. Standard HTML block elements are square-shaped with 90-degree corners. The CSS3 styling rule allows rounded corners to be set.

  1. -moz-border-radius: 20px;

  2. -webkit-border-radius: 20px;

  3. border-radius: 20px;

Border-radius can also be used to target individual corners, although the syntax for -moz- and -webkit- is slightly different:

  1. -moz-border-radius-topleft: 20px;

  2. -moz-border-radius-topright: 20px;

  3. -moz-border-radius-bottomleft: 10px;

  4. -moz-border-radius-bottomright: 10px;

  5. -webkit-border-top-right-radius: 20px;

  6. -webkit-border-top-left-radius: 20px;

  7. -webkit-border-bottom-left-radius: 10px;

  8. -webkit-border-bottom-right-radius: 10px;

Supported in Firefox, Safari and Chrome.

2. Border Image

Border-image in Push Your Web Design Into The Future With CSS3

Border-image, as the name suggests, allows an image file to be used as the border of an object. The image is first created in relation to each side of an object, where each side of the image corresponds to a side of the HTML object. This is then implemented with the following syntax:

  1. border: 5px solid #cccccc;

  2. -webkit-border-image: url(/images/border-image.png) 5 repeat;

  3. -moz-border-image: url(/images/border-image.png) 5 repeat;

  4. border-image: url(/images/border-image.png) 5 repeat;

The {border: 5px} attribute specifies the overall width of the border, and then each border-image rule targets the image file and tells the browser how much of the image to use to fill up that 5px border area.

Border images can also be specified on a per-side basis, allowing for separate images to be used on each of the four sides as well as the four corners:

  1. border-bottom-right-image

  2. border-bottom-image

  3. border-bottom-left-image

  4. border-left-image

  5. border-top-left-image

  6. border-top-image

  7. border-top-right-image

  8. border-right-image

Supported in Firefox 3.1, Safari and Chrome.

3. Box Shadow and Text Shadow

Shadow in Push Your Web Design Into The Future With CSS3

Drop shadows: don’t you just love them?! They can so easily make or break a design. Now, with CSS3, you don’t even need Photoshop! The usage we’ve seen so far has really added to the design, a good example being this year’s 24 Ways website.

  1. -webkit-box-shadow: 10px 10px 25px #ccc;

  2. -moz-box-shadow: 10px 10px 25px #ccc;

  3. box-shadow: 10px 10px 25px #ccc;

The first two attributes determine the offset of the shadow in relation to the element, in this case, 10 pixels on the x and y axis. The third attribute sets the level of blurriness of the shadow. And finally, the shadow color is set.

Also, the text-shadow attribute is available for use on textual content:

  1. text-shadow: 2px 2px 5px #ccc;

Supported in Firefox 3.1, Safari, Chrome (box-shadow only) and Opera (text-shadow only).

4. Easy Transparency with RGBA and Opacity

Opacity in Push Your Web Design Into The Future With CSS3

The use of PNG files in Web design has made transparency a key design feature. Now, an alpha value or opacity rule can be specified directly in the CSS.

  1. rgba(200, 54, 54, 0.5);

  2. /* example: */

  3. background: rgba(200, 54, 54, 0.5);

  4. /* or */

  5. color: rgba(200, 54, 54, 0.5);

The first three numbers refer to the red, green and blue color channels, and the final value refers to the alpha channel that produces the transparency effect.

Alternatively, with the opacity rule, the color can be specified as usual, with the opacity value set as a separate rule:

  1. color: #000;

  2. opacity: 0.5;

Supported in Firefox, Safari, Chrome, Opera (opacity) and IE7 (opacity, with fixes).

As used by: 24 Ways (RGBA).

5. Custom Web Fonts with @Font-Face

Font-face in Push Your Web Design Into The Future With CSS3

There has always been a set of safe fonts that can be used on the Web, as you know: Arial, Helvetica, Verdana, Georgia, Comic Sans (ahem…), etc. Now the @font-face CSS3 rule allows fonts to be called from an online directory and used to display text in a whole new light. This does bring up issues of copyright, so there are only a handful of specific fonts that can be used for @font-face embedding.

The styling is put into practice like so:

  1. @font-face {

  2. font-family:'Anivers';

  3. src: url('/images/Anivers.otf') format('opentype');

  4. }

The rest of the font family, containing secondary options, is then called as usual:

  1. h1 { font-family: ‘Anivers’, Helvetica, Sans-Serif;

Supported in Firefox 3.1, Safari, Opera 10 and IE7 (with lots of fixes: if you are brave enough, you can make font-face work in IE (thanks for heads up, Jon Tan))

As used by: TapTapTap.

Although CSS3 is still under development, the rules listed here are supported by some browsers right now. Safari in particular has extensive support for these new features. Unfortunately, despite being a top-quality browser, Safari has a relatively low number of users, so it is probably not worthwhile adding extra features solely for this group of users. But with Apple’s Mac computers making their way into everyday life, Safari’s usage is likely to continually increase.

Firefox, on the other hand, now has a considerably large user base. What’s more, the soon-to-be-released Firefox 3.1 has added support for a range of CSS3 features. Assuming that most users of Firefox will update their browsers, there will soon be a large group of users with support for these new styling rules.

Google Chrome was released this year. Based on the WebKit engine, this browser has much of the same support as Safari. While Safari makes up a good proportion of Mac users, Chrome has burst onto the scene, making up a decent proportion of Windows users.

Percentage-wise, the W3′s browser statistics indicate that, as of November 2008, 44.2% of W3School’s users across the Web were browsing with Firefox, 3.1% with Chrome and 2.7% with Safari. That means almost 50% of all Internet users should be able to view these features. Within the Web design community in particular, which is much more conscious of browser choice, the range of users with CSS3 support is much higher, at 73.6% (according to the stats at Blog.SpoonGraphics).

6. The downside

Your website may now have a range of fancy new design features, but there are a few negatives to take into consideration:

  • Internet Explorer: 46% of Internet users won’t see these features, so don’t use them as a crucial part of the design of your website. Make sure that secondary options are in place, such as a standard border in place of border-image and a normal font in place of @font-face. Please notice that Internet Explorer supports @font-face with EOT (more details) since v4 (thanks for heads up, Jon Tan).

  • Invalid style sheets: These CSS3 features have not been released as a final specification. They are currently implemented with tags that target different browsers. This can invalidate your style sheet.

  • Extra CSS markup: Following the last point, having to add a different tag for each browser to specify the same rule, as well as include the standard rule for the final CSS specification, adds a lot of extra code to your CSS markup.

  • Potentially horrific usage: Just as is done with traditional Photoshop filters, the use of these new styling features could result in some eye-wrenching designs. Drop shadows in particular ring warning bells for us; we’re not looking forward to seeing the Marketing Department’s choices with that one!


  1. Yes,Now a days all are using CSS3 to develop the website, i am also learn HTML5 and CSS3 in Chennai Best Web Designing Training Institute.

  2. They both require a great deal of technical knowledge and skill. There is no denying that getting a website designed and developed requires a wide range of skills and technical know-how.

  3. I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... website build

  4. Hi. I discovered your blog utilizing msn. This is a greatly elegantly composed article.
    website marketing

  5. Admiring the time and effort you put into your blog and detailed information you offer!.. affordable web developer

  6. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got good knowledge.
    WordPress website development Chennai

  7. Share great information about your blog , Blog really helpful for us . We read your blog , share most useful information in blog . Thanks for share your blog here .

    web design firm

  8. There is noticeably big money to understand about this. I suppose you made particular nice points in features also. webdesign

  9. Good to peruse such an untainted and exciting site.
    mason soiza

  10. The bar is set high for all the bloggers out there.
    Mason Soiza

  11. ood to peruse such an untainted and exciting site.
    web design singapore

  12. But there are intense competitors when it comes to developing an eye-catching website and making it function effectively or perform fast and easy multi-tasking.

  13. All websites are equivalent and paying the multi year old understudy on a PC course to construct the webpage will procure the very same profit as paying a pro web development organization. web designer

  14. thanks for sharing the announcement.. dad and mom are worlds quality individual in every lives of character..they obsession or need to meet the rate of cancel needs of the pals.

  15. There are even database pros who design database and compose what is called put away systems and triggers appropriate inside the database. userfeel remote usability testing

  16. Truth be told your experimental writing aptitudes has roused me.
    css beautifier

  17. Hi, great to see your website. I like the content and the research done behind every aspect of your blog. It looks great and very knowledgeable. Keep it up the good work. SY0-501 exam practice test questions

  18. Either you'll be able to go with freelance web designers or can hire total service web designers to get your internet presence, also called website. The very first reason to have your website is your engagement with the internet.reklamos paslaugos

  19. I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more. Web design dubai

  20. Thanks for sharing the details on CSS3 and everyone wants that their website should effective and have new and effective design. The web design california offers the services related to webdesign.

  21. As we're coming to the middle of this year, everyone is trying to analyze the recent trends in web designing and web development. WordPress web design

  22. It is ussually your corporate look that they consider when they consider you. Webdesign Webshop

  23. Webdesign. Sterke groeiambities en hoge ROI verwachtingen? Webdesign bureau Sempris lanceert uw bedrijf digitaal met professioneel en betaalbaar webdesign..Webdesign

  24. Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Webdesign

  25. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Webdesign

  26. Cool stuff you have and you keep overhaul every one of us Webdesign

  27. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Webdesign

  28. Webdesigner waar u een professionele en betaalbare website kan laten maken? De nr. 1 webdesigner in Limburg, Antwerpen en Vlaams-Brabant voor SEO websites. Webdesigner

  29. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. Webdesign

  30. In the event that every one of the locales resemble the other alike there's not really any shot of the guest recalling a particular website. Your website should have the perfect engineering with simple navigational design for local business

  31. In the event that you will publicize your site in your print promoting, business cards and so on. Webdesign

  32. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Webdesign bureau

  33. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. diseño web barcelona

  34. Excellent Blog. I really want to admire the quality of this post. I like the way of your presentation of ideas, views and valuable content. No doubt you are doing great work. I’ll be waiting for your next post. Thanks .Keep it up!
    Kindly visit us @
    Luxury Boxes
    Premium Packaging
    Luxury Candles Box
    Earphone Packaging Box
    Wireless Headphone Box
    Innovative Packaging Boxes
    Wedding gift box
    Leather Bag Packaging Box
    Cosmetics Packaging Box
    Luxury Chocolate Boxes

  35. There are also hundreds of small to medium sized web design and web development companies peppered throughout the greater Columbus area.Your website design

  36. Amazing article, Which you have shared about the website designing service. This article is very interesting and I liked to read it. If anyone want to design the Real Estate Agent Websites, then contact us.

  37. Aluminium Composite Panel or ACP Sheet is used for building exteriors, interior applications, and signage. They are durable, easy to maintain & cost-effective with different colour variants.

  38. Also, regardless of anything else, the understudies will take in every one of the exercises from the solace of their homes which is only a special reward. For the individuals who have very little cash, getting cash to get that web specialist confirmation isn't that luring.
    Web Design Curriculum

  39. Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. diseño web barcelona

  40. Nice stuff, it was nice to see this article. It was really appreciable. Thank you so much for sharing such an informative article. Singapore web designer

  41. When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. freelance web designer peter

  42. These are indispensable inquiries with which to start.Webdesigner

  43. hi was just seeing if you minded a comment. i like your website and the thme you picked is super. I will be back. ui/ux design agency san francisco

  44. Your article contains very much information about the Web Designing. Your article is very informative and useful to know more about the CSS3. If anyone looking for the Pay Monthly Websites services, londonseocenter is the best choice.

  45. Hello Admin!

    Thanks for the post. It was very interesting and meaningful. I really appreciate it! Keep updating stuffs like this. If you are looking for the Advertising Agency in Chennai | Printing in Chennai , Visit Inoventic Creative Agency Today..

  46. This is a truly good site post. Not too many people would actually, the way you just did. I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, with so much class. If wanted to know more about green smoke reviews, than by all means come in and check our stuff. niche releated backlinks

  47. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. diseño web valencia

  48. I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. Thanks for sharing the information keep updating, looking forward to more posts. High Quality Product Images

  49. Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us. Anonymous Live

  50. Assuming this is the case, every classification will have its own page.Webdesign

  51. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work Professionele webshop laten maken

  52. i am browsing this website dailly , and get nice facts from here all the time .

  53. Search engines rank websites that are mobile friendly higher than the websitesthat are not responsive. Are you searching for website designing business in Singapore then decide to employ the website designing experts of ProPlus Logics. hire a web designer

  54. Safest messages, or a toasts. are generally launched at one point during the wedding but are likely to just be hilarious, humorous to unusual as well. best man jokes website designer nyc

  55. Your site is your internet business front but with over a billion otherwebsites on the net, you want to earn a fantastic first impression to prevent
    getting lost in the here

  56. Quality Magento Web design and development intends to bring the finest inyour ecommerce website so that you're able to expand your on-line store for an
    unprecedented speed.
    go here

  57. Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog. web design singapore

  58. [...] Jeremy van Horebeek Kent Howerton Neil Hudson Ryan Hughes Georges Jobe Gunnar Johansson [...] nyc web designer

  59. This comment has been removed by a blog administrator.

  60. But wanna say that this is very helpful , Thanks for taking your time to write this. branding firms san francisco

  61. Your blog has the same post as another author but i like your better.~:;”* ux designer san francisco

  62. There is noticeably big money to comprehend this. I assume you have made certain nice points in features also. ui design agency san francisco

  63. Hello! I merely would want to make a enormous thumbs up for your excellent info you might have here during this post. I will be returning to your blog for additional soon. ipad mockups

  64. It has enabled a business to go global overnight.smm panel

  65. DigiPeek Provide Domain Rating & Domain Authority Increasing Service. DR 70+ & DA 50+ With Money Back Guaranteed.

    Grab your Ahrefs Domain Rating 70+ & Moz Domain Authority 50+ here!

    Does domain authority matter?

    Yes, Your Domain Authority is important because it is representative of how you rank on search engine. It helps you better understand your site's credibility in the eyes of the search engines and you can see how you compare to your competition.

    Thank you!

  66. The new Zune browser is surprisingly good, but not as good as the iPod’s. It works well, but isn’t as fast as Safari, and has a clunkier interface. If you occasionally plan on using the web browser that’s not an issue, but if you’re planning to browse the web alot from your PMP then the iPod’s larger screen and better browser may be important. web design company

  67. I real delighted to find this site on bing, just what I was looking for : D also bookmarked . converting websites

  68. Forex Signals, MT4 and MT5 Indicators, Strategies, Expert Advisors, Forex News, Technical Analysis and Trade Updates in the FOREX IN WORLD

    Forex Signals Forex Strategies Forex Indicators Forex News Forex World

  69. This is surely a very good blog, thanks a lot for sharing such nice information here.

  70. Shield Security Solutions Provides Ontario Security Training, Security Guard License or Security License in Ontario. Get Started Today

  71. This implies, you can legitimately sign on to your number one stores like or TraderJoe or some other store, you like for basic food item and other related

  72. 38 million grown-ups (76%) in Extraordinary England got to the Web each day, 21 million more than in 2006, when straightforwardly practically identical records started. Webdesignlab

  73. I prefer to watch youtube video with infographics about it, so please post such video. If you need youtube likes visit this site to buy it

  74. 나는 최근에 귀하의 블로그를 발견하고 함께 읽고 있습니다. 첫 번째 댓글을 남기겠다고 생각했습니다. 독서를 즐겼다는 것 외에는 무엇을 말해야할지 모르겠습니다. 좋은 블로그입니다.이 블로그를 자주 방문하겠습니다. 메이저사이트

  75. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! 토토사이트

  76. 이 게시물은 귀중하고 독특한 정보를 제공하고 있습니다. 멋진 기사를 만들기 위해 시간과 노력이 필요하다는 것을 알고 있습니다. 먹튀사이트

  77. Most web designers may relate this to most noticeably terrible model in a web design measure. Webdesign

  78. This site is excellent and so is how the subject matter was explained. I also like some of the comments too. Looking forward to your next post. dentist in tijuana mexico

  79. In the event that you can get sufficient compelling individuals to discuss your item and connection to your site, at that point their proposals will appear in any Google output that their companions does. This obviously influences SEO. Webdesign bureau

  80. An amiable and flexible partner, They met expectations for quality while delivering results in a compact timeline.
    top webdesign company

  81. On your place I would make a video for youtube how to do it. Can you make such video? If you worry about likes I can buy you some likes from this site

  82. Very good article, I enjoyed reading your post, very good part, I want to tweet this to my followers. Thank you 슬롯사이트