Responsive Design with CSS3 Media Queries 243

Responsive Design with CSS3 Media Queries

Screen resolution nowsaday ranges from 320px (iPhone) to 2560px (large monitor) or even higher. Users no longer just browse the web with desktop computers. Users now use mobile phones, small notebooks, tablet devices such as iPad or Playbook to access the web. So the traditional fixed width design doesn't work any more. Web design needs to be adaptive. The layout needs to be automatically adjusted to fit all display resolution and devices. This tutorial will show you how to create a cross-browser responsive design with HTML5 & CSS3 media queries.

View Demo Responsive Design

Download Demo ZIP

Two Free FITC Conference Tickets 83

Two Free FITC Conference Tickets

I have two FITC conference tickets to give away. For those that don't know about @FITC, it is one of the biggest conferences and workshops dedicated to web designers and developers. The event will take place in Toronto between May 2nd to 4th. I will be attending the conference as usual. Here is your chance to win a free ticket. You just need to tweet a message to enter the contest (read this post for details). If you are interested in purchasing tickets to the event, I have a special coupon for you: enter "webdesignerwall" to save $100.

Animated Scroll to Top 244

Animated Scroll to Top

Due to a number of requests, I'm writing a detail tutorial on how to create an animated scroll to top as seen on Web Designer Wall. It is very simple to do with jQuery (just a few lines of code). It checks if the scrollbar top position is greater than certain value, then fade in the scroll to top button. Upon the link is clicked, it scrolls the page to the top. View the demo to see it in action.

Demo Scroll to Top

Download Demo Zip

Cross-Browser HTML5 Placeholder Text 109

Cross-Browser HTML5 Placeholder Text

One of the nice enhancement in HTML5 web form is being able to add placeholder text to input fields. Placeholder attribute allows you to display text in a form input when it is empty and when it is not focused (it clears the field on focus). This is a nifty feature, but it is not supported by all browsers yet. This tutorial will show you how to use Modernizr to detect if placeholder is supported, or else use jQuery to display the fallback placeholder text dynamically.

Demo HTML5 Placeholder

Download Demo Zip