Posts Tagged ‘html5’

15 Web Design Trends to Watch Out For in 2012

So far the year 2011 has brought upon some amazing changes in design and Internet technology. Web development has become a much smoother subject to jump into learning, not to mention the countless open source libraries useful in streamlining the process. And yet it seems the global design community is far from throwing in the towel.

web design trend 2012 15 Web Design Trends to Watch Out For in 2012

I want to introduce 15 ideas which have grown very rapidly over the past year. These trends encompass web and graphics design techniques which will likely play a big role moving into 2012. You have probably seen a few of these represented throughout many of your favorite sites online.

Thankfully the methods to implement these features are becoming easier to understand and much slimmer in code.

1. Responsive Interface Design

The average user’s experience is possibly the most important aspect to consider when designing a website. You want page elements to respond quickly to keyboard/mouse input and behave as expected. Some examples may include side fly-out menus, drop-down boxes, and popup windows.

Including famous JavaScript libraries such as MooTools and jQuery, it has become much easier to animate these features and even more. Most modern-day browsers support this code and even gracefully degrade when the scripts aren’t available. Ultimately you want to make the user feel comfortable when interacting with anywhere in the design.

bill gates foundation flyout menu 15 Web Design Trends to Watch Out For in 2012

Similarly you should take form input and data checking into consideration. On many registration pages you’ll receive small responses as you work through each input area. You can automate checking for valid e-mail addresses, duplicate usernames, and even double-check password inputs. This will save time on the user’s end and provides a handy guide throughout the signup process.

2. Touchscreen Mobile Devices

In the past couple of years it has become evident that smartphones are gaining support among even non-tech enthusiasts. But only since 2011 have we seen an explosion of mobile sites and mobile-specific templates.

touch gesture 15 Web Design Trends to Watch Out For in 2012

The popularity of iPhone and iPad devices along with Android-powered phones means you will have visitors fully interacting with your pages through touch commands. This has to become a realistic consideration with every design mockup. Trends in mobile web design have shown that building an entirely separate mobile theme often provides the best results. In this way you can keep all the dynamic content in place on your main layout while serving up a slimmed version of the site to mobile users.

3. Tons of Freebies!

Who can say they honestly don’t enjoy free downloads? Web designers have been sharing their content online for years, but only recently has this become a very popular trend among digital artists. There have been a few communities built specifically around offering free downloads for web and graphic designers.

Two of my personal favorites are Download PSD and Designmoo, both of which get updated frequently by top-quality members. Additionally the Hongkiat Freebies archive has plenty of sweet goodies to check out. In any era before it has literally never been this easy to download free web interfaces, layouts, logos, banners, and practically any other type of PSD/AI file!

Some Neat Downloads

Below are just a few cool freebies to check out from earlier in 2011. And if you think this list has some great files, just wait until 2012 rolls around!

Mini Web UI Set

01 uikit freebie 15 Web Design Trends to Watch Out For in 2012

Dark Mini Music Player

02 dark music player 15 Web Design Trends to Watch Out For in 2012

Sliding Tags

03 sliding tags psd 15 Web Design Trends to Watch Out For in 2012

Dark Photo Slider

04 dark photo slider 15 Web Design Trends to Watch Out For in 2012

Search Boxes

05 search boxes fancy 15 Web Design Trends to Watch Out For in 2012

Login in/Signin Form

06 login form 15 Web Design Trends to Watch Out For in 2012

Login Modal Box

07 login modal box 15 Web Design Trends to Watch Out For in 2012

Clean Login Form

08 clean login form 15 Web Design Trends to Watch Out For in 2012

Pricing Tables

09 pricing tables 15 Web Design Trends to Watch Out For in 2012

Minimal Loading Bars

10 minimal loading bars 15 Web Design Trends to Watch Out For in 2012

Attachment Pop-up

11 attachment popup 15 Web Design Trends to Watch Out For in 2012

4. HTML5 & CSS3 Standards

Both of these new design archetypes have accumulated an ever-growing following throughout 2011. Semantic web designers have been waiting years to churn out CSS-only designs rendering rounded corners and drop shadows. Additionally the W3C has made a lot of headway in garnering support from the most popular browsers.

I can only see good things for the future of HTML5/CSS3 web development. Front-end designers are often overlooked in today’s field, yet they serve such a great importance to the entire composition process. Try not to squeeze yourself into any set ‘label’ based on the techniques you know and practice daily. We offer a beginner’s how-to guide for HTML5/CSS3 coding if you feel the need to catch up.

html5 css3 for web designers 15 Web Design Trends to Watch Out For in 2012

Sticking with these new standards will also make developing in JavaScript and jQuery just that much easier. Developers have already been publishing and sharing their HTML5/CSS3 project code online, and if things continue we’ll surely notice a whole lot more of this going into next year.

5. Ribbons and Banners

Although this design technique isn’t exactly “new” it never truly broke through mainstream until just recently. You have probably seen examples of corner ribbons, banner navigation bars, and small ribbon badges. These trends have likely exploded because of the massive accumulation of detailed tutorials which can be found all through Google.

ruby robots banner 15 Web Design Trends to Watch Out For in 2012

Web designers are more competent these days in launching their own blogs to share information. Now simple techniques can easily be passed around between designers to duplicate the most popular effects. There are even free PSDs you can download to save yourself the effort.

6. Premium WordPress Themes

The final release of WordPress 3.0 included a host of long-awaited features such as custom post types and unique article images. Yet the most profound changes I have seen are coming from WordPress development shops which specialize in premium WP themes.

woothemes membership home page 15 Web Design Trends to Watch Out For in 2012

After you purchase such a theme the installation process is similar to any other. Yet it’s now possible to include custom plug-in functionality, child themes, new admin menus, and a whole bunch of other features right from within the theme! WooThemes, ElegantThemes and Rocket Themes are few brands which stand out to me above all the rest. Their quality is impeccable and I feel their developers go above-and-beyond to create the best templates and most intuitive admin menus.

Going into 2012 I can only imagine WordPress will become even easier to use. This means more high-quality themes to be released, and more amazing blogs to be launched.

7. Online Magazines

Speaking about WordPress themes we should also bring up the quickly-adopted success of online magazines. These websites are not so different from any generic WordPress blog aside from the general structure and page layout. You can spot these larger mags by the sheer presentation of their home page, and collection of authors writing for the site.

mashable online magazine layout 15 Web Design Trends to Watch Out For in 2012

As magazines begin moving online they will become a source of income for many writers. Granted a topic such as ‘web design’ targets a smaller niche than, say, gaming or economics. But the fact that we’re seeing more design magazines online than print goes to show where the world may be heading in the years to come.

8. Easy Drop Shadows

As a facet of CSS3 it’s now easier than ever for designers to implement a drop shadow anywhere on the page. Box text and box-style elements have been given respective properties to render clear-cut shadow effects.

The text-shadow syntax is very easy to memorize and follows along as box-shadow. With images now unnecessary in rendering these effects, web developers can focus on expanding these basic ideas further. I personally love Matt Hamm’s page curls which were developed entirely with CSS3. You can find all the code on his website to duplicate the effect and implement a similar style onto your own pages.

9. Dynamic Typography

Fonts are a big part of the sphere encompassing web design tradition. The most notable fonts including Arial, Helvetica, Georgia, and Trebuchet MS have been around for years now. Although they continue to serve a deep purpose in web standards, there are plenty of alternate options for advanced webpage typography.

Typekit for example only requires a couple lines of code to be included in your document head. After this you can specify which font names to include and append them into your CSS. The best part about this technique is that it relies mostly on JavaScript, so the end user isn’t required to have the fonts installed.

google web fonts display 15 Web Design Trends to Watch Out For in 2012

Another alternative is Google Web Fonts which behaves in a similar manner to Typekit. I recommend interested designers to check out CSS3′s @font-face media query, as you are given much more creativity. This code can be used to import a .ttf or .otf font file from your web server and include it as a usable stylesheet font! With so many alternate systems used for building dynamic fonts I’m expecting 2012 to hold a surge of innovation and design talent in this area.

10. Image Gallery Slideshows

With the subsequent popularity of jQuery I have spotted more and more image slideshows being dropped into web layouts. Galleries are perfect for demonstrating a quick glimpse of inner-page content. This could be a set of portfolio entries, photographs, blog posts with featured images, demo screenshots, etc.

hello themes magneto slideshow 15 Web Design Trends to Watch Out For in 2012

When you consider the many unique sliding and fading animations it has never been easier to construct a quick slideshow for your home page. I’m confident that 2012 will see an uptick in these trends, and not just between designers. Online web applications and software companies have been using slideshows as guided tutorials to display screenshots and unique features.

11. Modal Popup Boxes

I feel that modal boxes are still fairly new to the Internet considering they’ve been appearing in desktop software and mobile apps for years. The purpose of a modal window is to offer box content(such as user registration or login) on top of the current page without loading onto a new one.

digg login form modal 15 Web Design Trends to Watch Out For in 2012

Many of the open-source image gallery scripts use a type of lightbox effect where the background fades darker than the popup box. I really enjoy this feature whenever I see it, although it has yet to be adopted by many. And although modal boxes are sexy and sleek, they can also be very difficult to code and get working properly.

googleplus modal popup box 15 Web Design Trends to Watch Out For in 2012

To get ideas for your own websites check out some of the more popular social news sharing communities. Reddit and Digg are the first two which come to mind as they both feature register/login modal boxes with a typical layout. Additionally the UI effects for Google+ boast a considerable amount of modal functionality.

12. Inspirational Lists

Collections of list items have appeared since the very early days of web design. As we moved into the new century designers began using HTML ordered and unordered lists to house navigation menus. But nowadays lists can and are being used for much more.

flowapp lists todo format 15 Web Design Trends to Watch Out For in 2012

In most of the blog themes I find the entire sidebar is loaded with lists! Not to mention designers who have crafted awesome CSS styles for lists in their article entries. We covered inspiring list styles in another post earlier this year which may give you some more insight to the matter. Looking forward into 2012 I’m expecting some really creative examples, possibly on par with Flowapp’s custom layout for tasks & to-dos.

13. Generated Image Thumbnails

In the web universe we can agree that content is king. But most designers will also agree that a page of blank text becomes boring real quickly. Images can add that extra spice if you know how to sprinkle them in gently. One such method is using dynamic thumbnails to provide previews for each page or article.

Blogs today are continuing to adopt the featured image trend, so why not apply generated thumbnails into your theme as well? These often draw my attention towards the article headline and help to break up a page full of text links.

dribbble screenshot thumbnails 15 Web Design Trends to Watch Out For in 2012

As another example Dribbble provides a whole gallery listing of thumbnails for each design shot. In such a table row-style layout it’s super easy to catch a glimpse of each thumbnail and scroll through to find what you’re looking for. This tactic has proven to grab the attention of the whole design community! Er, at least the members of Dribbble at best. I can only expect that 2012 will see further exertion of these ideas building upon such examples from the past.

14. Oversized Icons

This unique trend semi-originates from the popularity of Mac OS X icon designs. As programmers began to launch websites for their Mac applications we all too frequently have seen the enormous sizes represented in branding. Accordingly this trend has also been picked up through iOS developers and now comfortably rests within modern design culture.

panic transmit app icon 15 Web Design Trends to Watch Out For in 2012

It’s difficult to predict how these trends will fair as we move into 2012. On the one hand these icons can be clunky and take up more space than necessary. Yet we’re not even close to hitting a shortage of iOS/OSX apps and designers are still churning out pixel-perfect icon specs. Not to mention that web designers are now including oversized icons within just about any page branding! It’s a good way to nab your visitor’s direct attention and build a name for your company.

15. Exaggerated Hyperlinks

Anchor links are certainly within the top five most important elements of any website. These have obviously come a long way since the 1990s and popular design trends have only been growing exponentially. It appears we are moving into an era where exaggerated design takes precedence.

simplebits studio links 15 Web Design Trends to Watch Out For in 2012

Check out a few of the link examples from Patterntap to see if any jump out and catch your eye. There are so many incredible ideas for hyperlink design, both in standard and hover effects. CSS3 rounded corners, text shadows, and custom font families add even more great ideas into the mix! One of my favorite examples is from SimpleBits which uses a short dynamic animation on each of their blog entry permalinks.

Conclusion

These ideas are only some of the more popular trends I have noticed gaining precedence throughout 2011. Great web design is always about focus and keeping user intentions as top priority. It’s unlikely these philosophies will differ moving into 2012, but how we build layouts and present data is always in change. Let us know your thoughts or questions in the comments discussion area.

22 Useful HTML5 CSS3 Form Tutorials

Advertise here with BSA


Using HTML5 and CSS3 you can create creative web forms with great specifications. So in this roundup we are featuring 22 CSS3 form tutorials.

Slick login form with HTML5 & CSS3

HTML5 & CSS3 envelope contact form

Build a Neat HTML5 Powered Contact Form

Create a Stylish Contact Form with HTML5 & CSS3

Fun with HTML5 Forms

Design a Prettier Web Form with CSS 3

Create A Clean and Stylish CSS3 Contact Form

Create a Slick CSS3 Login Form NO IMAGES ALLOWED

Fancy Forms: HTML5 + CSS3 – JS

How to Create A Multi-Step Signup Form With CSS3 and jQuery

Glowform CSS3 Image-less Glowing Form Tech

A jQuery & CSS3 Drop-Down Menu With Integrated Forms

Create a Clean and Stylish Login Form With HTML5 and CSS3

How to Create a Contact Form using HTML5, CSS3 and PHP

Carbon Fiber Signup Form With PHP, jQuery and CSS3

Designing Modern Web Forms with HTML 5 and CSS3

HTML5/CSS3 Contact Form Tutorial

Beautiful CSS3 Search Form

Clean and Stylish CSS3 Form

How To Create A HTML5 Contact Form

How To Create An Ajax-Based HTML5/CSS3 Contact Form

Free slick css form


Advertise here with BSA

Beginner’s Guide To: Building HTML5/CSS3 Webpages

HTML5 and CSS3 have swept the web by storm in only 2 years. Before them there have been many altered semantics in the way web designers are expected to create web pages, and with their arrival come a slew of awesome supports such as alternative media, XML-style tags, and progressive input attributes for web designers to achieve dreamy features like animation.

html5 css3 Beginners Guide To: Building HTML5/CSS3 Webpages
(Image Source: SARBARTHA DAS, HeskinRadiophonic)

Though most developers seem to showcase potential yet complicated demos, HTML5/CSS3 are not really rocket science, and I’ll be walking you through the relaxing process to build a standard HTML5/CSS3 web page with comprehensive yet in-depth explanation and tada! Bonuses like learning resources and free HTML5 templates are available for you, so take this chance to kick-start your HTML5 journey!

Changes between HTML4 and HTML5

You may be wondering why it’s even important to switch into HTML5. There are a myriad of reasons, but mostly because you’ll be working with the global Internet standards like every other designer. In this way you’ll find more support online and your websites will render properly in modern browsers which are constantly improved.

html5 semantics Beginners Guide To: Building HTML5/CSS3 Webpages
(Image Source: W3C)

Comparison between HTML4 and HTML5 is difficult to spot at surface level. From viewing the new HTML5 draft you can see featured elements and corrected error handling procedures. Browser developers have specifically enjoyed the new specifications for rendering default web pages.

What’s more from HTML5 is the conversion of our modern web browser. With these new specifications the web as a whole is now viewed as an application platform for HTML (especially HTML5), CSS, and JavaScript to be built upon. Also, this system elegantly creates harmony between web designers and developers by setting common standards which all browsers should follow.

Additionally many elements have been created to represent new-age digital media. These include <video> and <audio> which are huge for multimedia support. In some browsers you may complete form validation directly in HTML. Granted there is still a heavy need for jQuery, since there are many software developers who have yet to recognize the features. If you’d like a list of tags check this W3Schools table to learn more about them.

Bare HTML5 Skeleton

I find the easiest way to understand any topic is to dive right into it. So I’ll be constructing a very basic HTML5 skeleton template for a web page. I included a few of the newer elements, which I hope to categorize a bit later.

<!doctype html>
<head>
  <meta charset="utf-8">
  <title>Our First HTML5 Page</title>
  <meta name="description" content="Welcome to my basic template.">
  <link rel="stylesheet" href="css/style.css?v=1">
</head>

<body>
    <div id="wrapper">
    	<header>
            <h1>Welcome, one and all!</h1>

            <nav>
            	<ul>
                    <li><a rel="external" href="#">Home</a></li>
                    <li><a rel="external" href="#">About us</a></li>
                    <li><a rel="external" href="#">Contacts</a></li>
                </ul>
            </nav>
        </header>

        <div id="core" class="clearfix">
            <section id="left">
            	<p>some content here.</p>
            </section>

            <section id="right">
                <p>but some here as well!</p>
            </section>
        </div>

        <footer>
            <p>Some copyright and legal notices here. Maybe use the © symbol a bit.</p>
        </footer>
    </div>

</body>
</html>

Right away this isn’t very different from a standard HTML4 web page. What you may notice is that we do not need to include any more self-closing tags. This is truly wonderful news as it will save lots of time off your development projects.

For those who don’t know, in XHTML drafts there were many elements labelled self-closing. These would end with a forward slash before the ‘greater than’ operator to signify you wouldn’t need to include another closing tag elsewhere. As an example, to create a meta keywords tag you would use <meta name="keywords" content="HTML5,CSS3,JavaScript" /> without the need for a closing </meta> elsewhere.

This rule still applies in HTML5. But now you don’t even need the extra forward slash! <meta name="keywords" content="HTML5,CSS3,JavaScript"> is completely valid, although you are allowed to continue using the XHTML/XML standard. For all standards-compliant browsers both elements will render the same way.

Defining our Page Areas

The majority of our new code shouldn’t be too shocking. Our doctype is hilariously simpler than ever, no need for excessive body attributes, and information in our heading is clearly labelled. Moving on I’d like to focus your attention on the content inside our <body> tag. This includes all of the main page’s structure. I’ve purposefully used a few nice HTML5 tags to signify how you may include them in your own work.

First you’ll see the entire page is encapsulated within a div tag. I’ve labelled this with an ID of wrapper, meaning it wraps around our entire website content. This is useful to set a maximum width or position content around on the screen. Next I’ve fractured the page into 3 core elements – one <header>, a core <div>, and a short <footer>. Inside my custom header area I have added a simplistic display of the page’s title, and navigation items using the <nav> tag as a wrapper.

Now for the <div> with an ID of core I have applied a secondary clearfix. This feature makes it so we can freely float 2 columns inside and we won’t experience any dropped content or strange phenomena. And rightfully so, as inside I have placed two <section> tags which will include our main content area and sidebar, respectively. We’ll be using CSS styles to float them apart.

Similarly the quiet footer tag works well to differentiate this content among the page. Inside I have placed a solemn paragraph which may contain some copyright and ownership information. But chances are good you’ll want to include a bit more content, such as secondary links to your pages.

Creative CSS3 Wizardry

To finish off this basic stencil layout we can use a few CSS styles. In the basic HTML5 template I added an external CSS stylesheet so we can keep our code areas separated. This will clear up a lot of confusion in the long run when your pages and styles begin to run on for different pages.

html5 css3 styling Beginners Guide To: Building HTML5/CSS3 Webpages
(Image Source: W3C)

So I haven’t spent a great deal of time with CSS, but enough to showcase a couple of neat effects. First off I’ve used some of the border-radius settings to build very cool navigation link hover effects. You can target this same effect in the template code, just add the following lines into the CSS document.

nav {
	display: block;
	margin-bottom: 10px;
}
nav ul {
	list-style: none;
	font-size: 14px;
}
nav ul li {
	display: inline;
}
nav ul li a {
	display: block;
	float: left;
	padding: 3px 6px;
	color: #575c7d;
	text-decoration: none;
	font-weight: bold;
}
nav ul li a:hover {
	background: #deff90;
	color: #485e0f;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 3px 6px;
	margin: 0;
	text-decoration: none;
}

Another neat effect is the clearfix styles. This isn’t an entirely new concept with CSS3, but it is important for building standards-compliant web pages. Often when you’re looking to float content next to each other you’ll experience buggy positioning glitches. This is caused by offset margins and errors in setting absolute widths for your floated content.

This concept can seem a bit confusing, and I’ve added a small bit of code below to help. Basically we’re targeting two <section> elements, #left and #right to correspond to their side of the page. I’ve set each with a definite width and floating left, so they’ll stack right up next to each other. Since our container div#core contains the clearfix class, this means all internal content can be move around freely and automatically clears extra space afterwards.

/* page core */
div#core {
	display: block;
	clear: both;
	margin-bottom: 20px;
}
section#left {
	width: 550px;
	float: left;
	margin: 0 15px;
}
section#right {
	float: left;
	width: 300px;
}

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}

These bits of code are simple for getting started. They also pertain to our HTML5 template code constructed earlier, so this is simple practice. But when it comes to real web junkies you’ll be looking into more CSS3 functionality.

Lesser Known CSS3 Syntax

To construct full HTML5/CSS3 web pages you’ll begin to use some much more complex stylesheets. Many designers know of shorthand code (such as the font: property), since these have been standards even before CSS2.

But there are a few new properties in CSS3 which many designers aren’t thinking about. Many of these aren’t just for aesthetics, but also include animation effects. Below is a short list explaining a few of the properties you may consider playing with. Try googling for syntax examples if you feel lost.

  • box-shadow: adds a neat shadow effect to your page elements. You are given 4 parameters which set the position left/right, up/down, shadow blur and color. Note that box shadows are not considered additional space to the original width/height.
  • text-shadow: creates beautiful shadows behind your page text. With the right effects your letters could appear to pop right off the page. Read a bit more about text shadows at this post.
  • border-radius: Rounded corners have taken a long time to become accepted standards. Few years ago many web 2.0 designers were crafting background images just to fit rounded corners in with CSS. But using CSS3 border-radius you can manipulate the curve of each border on any element.
  • opacity: Seems like a simple property which many designers don’t consider. Opacity expects a single numerical input ranging from 0 to 1.0 (0% – 100%). This effect works great as a hover animation.
  • @font-face: Another beautiful example of some complex CSS styles and typography. Web designers are now able to work with their own custom fonts by defining them as variables inside your CSS documents. The process is a bit confusing, but Zen Elements has outlined the process in a very simplistic manner.
  • box-sizing: by default box-sizing will set all of your elements as content-box. This means width, padding, and borders are all included into the max width. But set to border-box you can define a max width (say 20px) and added padding/borders will include themselves into this, thus removing space inside the object. It’s a fantastic property once you master its resourcefulness.

These properties all have their upsides and downfalls. I wouldn’t recommend trying to cram them all into your web pages. But practice will give you a clear mindset to enter into developing further websites with ease.

One more core piece of added syntax worth mentioning is attribute selectors. With CSS3 you can now define styles based on HTML attributes (such as type, href, title) and even provide specific values. So for example we could target links with a defined title attribute and give them a set of background icon.

ul li[title^="ico"] {
	background: url('my-icon.gif');
}

If you notice I’ve included a caret symbol before the equals sign. This is an operator which defines all list items holding the prefix, ico. Alternatively you can replace the caret(^) with a dollar sign($) to target the suffix area of your title. In this way CSS3 knows to add background images where you could set the titles as ‘first ico’ or ‘book ico’. Read up a bit more about attribute selectors if you’re interested.

Putting it All Together

At the core of HTML5 and CSS3 web pages is simplicity. Web developers are trying to build highly creative websites in less time and with less stress. The new features in HTML5 allow this with plenty of wiggle room. And using some of the new CSS3 selectors and properties will give you advantages in the long run.

html5 performance and integration Beginners Guide To: Building HTML5/CSS3 Webpages
(Image Source: W3C)

But as well you should be considering the end user. The process of building a web page ultimately ends after launching the website public. Your goal is to please audience with easy-to-access information, and not just human readers, but search engine crawlers and indexing bots. Semantics have greatly evolved to include new HTML5 layout elements, splitting up page layouts consistently. It’s never been easier to construct a small navigation and footer section in line with all modern web browsers.

Once you have become comfortable building HTML5 web pages you’ll likely start looking into page animations. Even minor effects with JavaScript and AJAX can majorly improve user experience and site performance. Although this isn’t part of the article scope, I recommend toying around with jQuery if you have any time. The open source library is astounding and allows for rapid prototyping on top of HTML5 page elements.

Additional Resources

Bloggers all around the world have been discussing the new trends in HTML5 and CSS3 and sharing resources to the public. The time is changing and the web community is changing with them. You should consider a few niche areas to study into and build a small interest.

Below are some additional lists, articles and tutorials you may enjoy. I’ve taken the liberty of splitting the lists into HTML5 and CSS3 resources. Based on what you’re looking into there should be a few topics here for everybody. Also enjoy the brief gallery of free HTML themes available for download online!

HTML5

CSS3

Bonus: HTML5 Templates & Themes

Design Company

Ready to step into the wonderful world of HTML5? Here’s a completely free HTML5 template, with jQuery scripts and custom fonts armed for you to test freely!

design company Beginners Guide To: Building HTML5/CSS3 Webpages

A HTML5/CSS3 Theme

This HTML5/CSS3 powered theme has common blog’s layout design for you to either build your own HTML5 blog with extensive features, or simply dig into the code and learn something about it.

a html5 css3 theme Beginners Guide To: Building HTML5/CSS3 Webpages

Spectacular

The spectacular WordPress theme comes in 2 flavors: HTML4.01 and HTML5, making it a very good resource to learn the coding difference between the HTML brothers.

spectacular Beginners Guide To: Building HTML5/CSS3 Webpages

Yoko

Yoko is a modern WordPress theme talking about flexibility with its responsive layout based on CSS3 media queries, which is the ability to adjust to different screen sizes, get to know about it!

yoko Beginners Guide To: Building HTML5/CSS3 Webpages

Grey

If you prefer the classic WordPress blog’s style, Grey is probably for you with its built-in CSS3 features like border-radius, multiple backgrounds, text-shadow, etc.

grey Beginners Guide To: Building HTML5/CSS3 Webpages

Design a Full HTML5/CSS3 Template Replica of Digg v3

Advertise here with BSA


Social media junkies on the turn of the year 2004 surely remember Digg. It was the powerhouse of social news, all the techies would flock to Digg on a daily basis. And it’s been through quite a few changes recently with the v4 redesign. However I fondly remember Digg’s classic appeal running under v3 as the most accepted web interface.

Thus I’ve taken the liberty to re-code the entire front page template into HTML5/CSS3! And in this short tutorial I’ll be introducing you to some of my techniques. Additionally I’ve offered the source code completely free to download for your own usage. Much of the design I’ve had to piece together through the Wayback Machine Internet archives.

Digg v3 Template hand-coded into HTML5/CSS3

Live DemoDownload Source Code

Examining HTML Structure

We should start off the tutorial by glossing over my core HTML page. Inside the source file we’re only working with a couple images and 2 files – index.html and global.css. I’ve included some light jQuery code towards the bottom of our index page as well. We use this to display the dropdown effect in the header menu area.

<body>
	<div id="w">
		<!-- @begin header -->
		<header>
			<h1><a href="#">digg</a></h1>

			<a href="#" class="head-linking">Join Digg</a>
			<a href="#" class="head-linking side-brdr">About</a>
			<a href="#" class="head-linking side-brdr">Login</a>

This is the first block entering our root body area. I’ve used the HTML5 header element to properly encase our top bar and navigation. Additionally the Digg logo is inside an h1 tag for clarity. The inner text is removed in the CSS with a negative text-indent property.

Another interesting portion of the home page is our top navigation. These include drop-down submenus where users can browse through the many different categories. I passed over the nav element here to instead use it on the bottom row.

			<div id="topnav">
				<ul id="topmainnav">
					<li>
						<a href="#">Technology <em id="drop101"> more</em></a>
						<ul class="catdrop" id="catdrop101" style="display:none;">
							<li><a href="#">Apple</a></li>
							<li><a href="#">Design</a></li>
							<li><a href="#">Gadgets</a></li>
							<li><a href="#">Hardware</a></li>
							<li><a href="#">Industry News</a></li>
							<li><a href="#">Linux/Unix</a></li>
							<li><a href="#">Microsoft</a></li>
							<li><a href="#">Mods</a></li>
							<li><a href="#">Programming</a></li>
							<li><a href="#">Security</a></li>
							<li><a href="#">Software</a></li>
						</ul>
					</li>

Inside each of the root list item elements we nest another unordered list. The class .catdrop distinguishes between the dropdown category lists and apply styles accordingly. The additional em tag with an ID of “drop10X” actually displays the small arrow button off to the right. Whenever the user clicks the em tag jQuery will toggle the next unordered list.

<div id="topsubnav">
				<nav>
					<a href="#" class="current" id="popped">Popular</a>
					<a href="#" id="upcoming">Upcoming</a>
				</nav>

				<ul class="media">
					<li><a href="#">News</a></li>
					<li><a href="#">Videos</a></li>
					<li><a href="#">Images</a></li>
					<li class="xtra"><a href="#" class="customize">Customize</a></li>
				</ul>
			</div>

Now topsubnav is the last of our header area containing the final bottom bar. Notice that we use CSS3 techniques to add in rounded corners instead of Digg’s old sliding doors with images. The only HTML5 nav element we use holds the popular/upcoming links.

Designing News Articles

Now let’s look into the code I’ve written for each news article. Since the Digg layout needs to expand as the user re-sizes the browser I’ve set the sidebar area first in code. The width is static so our left content area can fluidly move back and forth for readjustments.

I just copied over the first news article content below. We’re using the HTML5 article element with a class of .news-itm for styles. Each article is broken down into a few segments. The first is a side thumbnail which is optional on some articles. Next we have a news body which holds our header, main content, and bottom links such as share and bury.

<!-- @begin news story -->
				<article class="news-itm" id="fp0">
					<a href="#" class="thumb"><img src="img/t/bball-001.jpg" /></a>
					<div class="news-body">
						<h3><a href="#">The 4 Best All-Time Players From Each NBA Franchise</a></h3>
						<p><em class="source">sports.espn.go.com -</em> Trying to find four people to represent an NBA franchise's history is tough. Probably harder than finding four decent presidents that represent what a country stands for... <a href="#" class="more">More</a> <em class="topic">(<a href="#">Basketball</a>)</em></p>
						<div class="details">
							<a href="#" class="story-comment">6 Comments</a>
							<a href="#" class="story-share">Share</a>
							<a href="#" class="story-bury">Bury</a>
							<span class="user-details">
								<a href="#"><img src="img/usr/diggleague.png" alt="diggleague" class="user-ava" />diggleague</a> made popular <em class="d">3 min ago</em>
							</span>
						</div>
					</div>

					<ul class="digg-badge">
						<li class="counter"><a href="#"><strong>59</strong> diggs</a></li>
						<li class="voter"><a href="#">digg it</a></li>
					</ul>
				</article>
				<!-- @end story -->

Then next to all this we add the digg badge floating left. This is all stored in a single unordered list with the first list item comprising the top yellow portion of the badge. Below it the second list item holds an anchor link with the classic text “digg it”!

As I’ve moved down the page each new article has an updated ID number, along with newer submission times and amount of diggs. If you use this template on your own website most likely you can generate all this content dynamically from the database.

Digg’s Classic Footer

One last area to check out is the footer. Digg v3 had a really cool implementation which I was always in love with. Of course I’ve redefined the area with an HTML5 footer tag to start. Inside is our content div which houses a slew of definition lists. I’ve copied over just one for the sake of this tutorial.

<footer>
			<div id="footer-contents" class="clearfix">
				<dl class="col">
					<dt>Site Links</dt>
					<dd><a href="#">Home</a></dd>
					<dd><a href="#">Search Digg</a></dd>
					<dd><a href="#">RSS Feeds</a></dd>
					<dd><a href="#">Popular Archive</a></dd>
					<dd><a href="#">Terms of Use</a>, <a href="#">Privacy</a></dd>
					<dd><a href="#">Report a Website Bug</a></dd>
				</dl>

Each list is given a class of “col” to stand for column. In my demo I included 5 total columns with the last one appended to the respective class. Notice how this works very similar to an unordered list except we can break up links into headers and content.

The definition terms(dt) are used as global headers within each list column. Some columns actually contain 2 different dt elements, which is what gives this style of footer design such flexibility. The data definitions(dd) act as list items for each of the links, or perhaps some paragraph text. But enough about the static HTML – let’s finish off by checking out some really cool CSS3 effects!

Finalizing CSS Styles

Perhaps Digg v3 was best known for breaking out of the web 2.0 box templates. They did things other websites such as Delicious or MySpace wouldn’t. But what makes it easier to build this time around is how detailed CSS3 has become.

/** @group heading **/
#w header { background: #1B5790; color: #fff; float: left; width: 100%; margin-top: -1px;  margin-bottom: 20px; position: relative; z-index: 99999; height: 110px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; }

#w header h1 { font-size: 100%; margin: 0; float: left; }
#w header h1 a { display: block; height: 45px; width: 79px; text-indent: -2000em; z-index: 1000; background: url('../img/menu-items.gif') -116px -733px no-repeat;}

Above is the code for our main content wrapper and top heading area. Notice we’re using border-radius and its counterparts for Mozilla and Webkit to create the rounded effects. Digg often used background images in these scenarios – which still would be a fallback option for non-CSS3 compliant browsers. Additionally the h1 logo uses a background image instead of static text.

Also another interesting section is the pagination area. If you noticed on the template page we have a fake set of pagination links underneath the main stories. This was very popular on Digg’s original site and has since ported into other CMS communities. The code uses classes for previous and next links, and also removes styles from items without an anchor.

#paginator { padding: 0.5em; margin: 1em 0px; clear: left; font-size: 1.1em; }
#paginator li.prev { border: 1px solid #ddd; color: #999; padding: 0.3em 0.5em; margin-right: 3px; }
#paginator li.next { font-weight: bold; }
#paginator li.current { border: 1px solid #2e6ab1; font-weight: bold; background: #2e6ab1; color: #fff; padding: 0.3em 0.5em; margin-right: 3px; }
#paginator li.sep { margin-right: 3px; }

#paginator li { display: block; float: left;  }
#paginator li a { display: block; float: left; padding: 0.3em 0.5em; margin-right: 3px; border: 1px solid #9aafe5;
text-decoration: none; }
#paginator li a:hover { border-color: #176cb2; }

This is also very similar to the Digg voting badge you see on each story. The positioning of some elements are set to absolute within a relative container. This just makes the template fall cleaner and much more adaptable for users who resize the window. It seems like such a small detail, but the crowning achievement of Digg v3 was that it just worked properly. I’ve tried to clone that ideology within this template.

.digg-badge { position: absolute; top: 0.8em; left: 0; text-align: center; font-size: 85%; margin: 0; padding: 0; list-style: none; background: url('../img/badge-bg.gif') no-repeat; }
.digg-badge .counter { }
.digg-badge .counter a { display: block; padding: 10px 0 4px 0; text-decoration: none; width: 50px; min-height: 40px; color: #93883f; text-align: center; }
.digg-badge .counter a:hover, .digg-badge .counter a:hover strong { color: #998d43; }
.digg-badge .counter a strong { font-size: 2.2em; font-weight: normal; letter-spacing: -1px; line-height: 1; display: block; color: #736926; }

.digg-badge .voter { margin-top: 1px; padding: 0px 0px 5px; font-size: 1.3em; }
.digg-badge .voter a { font-weight: bold; display: block; margin-bottom: -5px; padding: 4px 1px 5px; width: 47px; text-decoration: none; text-align: center; border: 1px solid #ddeaf7; border-top-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-top-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; }
.digg-badge .voter a:hover { border-color: #a9caed; }

Live DemoDownload Source Code

Conclusion

We touched upon some great talking points for this Digg re-design. Unfortunately the Internet is an ever-changing organism and websites will move on. But thanks to a wonderful community of designers we can relive the nostalgia of our past effortlessly. If you enjoy the template or use it for yourself we would love to check it out! Add your thoughts and ideas (along with any links) into the discussion area below.


Advertise here with BSA

HTML5 Template Generators, Frameworks And Tools

Although the big players in web design industry have been adopting HTML5 in recent years, there are not really many others using it in practical solution, mostly due to the lack of time or understanding. Chances are if a language is being promoted for certain time, there will be enthusiasts going into the troubles of eliminating your troubles by creating HTML5 template generators and frameworks.

html5 template generator framework HTML5 Template Generators, Frameworks And Tools

At Hongkiat, we always want to make your development work as easy as possible, so below is the list of HTML5 template generators and frameworks that either speed up your HTML5 development, or helps you ease troubling issues like browser compatibility. By the end of the day, your HTML5 development will only get easier and happier with these generators and frameworks!

Why Framework?

Although it might takes some time to actually learn the framework, if you have the framework at ready all you need to add is the content and slight modifications according to your taste. Also don’t get worry about it, the world won’t look at you disdainfully for using an HTML5 template generator or a ready-to-use framework. Practicality comes first!

html5 framework HTML5 Template Generators, Frameworks And Tools

Besides, frameworks that are out there for using usually have loyal followings and support. An advantage to using frameworks is you really don’t have to worry about serious issues like cross-browser and cross-platform compatibility, somebody else has already brooded over that for you. But, of course, you can contribute to their cause, especially for open-source libraries and frameworks.

After all, it’s always good to have an extra gear in your design toolbox!

Template Generators & Frameworks

Initializr

Few clicks are all it takes to generate yourself a HTML5 template. Initializr also gives you an option whether you’d want your template to include JavaScript or jQuery, server configurations, and Google analytics.

Initializr is also built on HTML5BoilerPlate, another great tool to expand your HTML5 grasp, add functionalities, and improve your whole site.

initializr HTML5 Template Generators, Frameworks And Tools

HTML5 Template Generator

An alternative is Shikiryu.com’s HTML5 template generator. It has an additional option to include description for the website’s author, also includes options for Favicon and Apple Touch icon in case you want them to be automatically inserted into the template.

html5 template generator HTML5 Template Generators, Frameworks And Tools

SwitchToHTML5

Another great HTML5 framework generator is SwitchToHTML5. Like others, it allows you to add several elements such as <section>, <mark>, <figure>, <nav>, and others. SwithToHTML5 also gives you the option whether you’d want to support Internet Explorer or not, as its version earlier than IE9 does not support HTML5 natively.

switchtohtml5 HTML5 Template Generators, Frameworks And Tools

reformed

Say, I can’t be the only one who hates creating forms, right? Creating forms is a tedious task, at least for people like me, that’s why reformed was here to help people to create clean and functioning forms! reformed is an HTML5 form builder that is very lightweight and won’t cause you too much trouble, like if you do the form from scratch.

There are two versions, a web application and a standalone desktop application, although you’ll have to pay to have it work offline. Well, if you like the application, show some love!

reformed HTML5 Template Generators, Frameworks And Tools

Modernizr

Take advantage of HTML5 and CSS3 using Modernizr. It is an open-source JavaScript library to help developers create the best websites that incorporate HTML5 and CSS3.

Older browsers are not the issues with Modernizr, visitors will see what they ought to see no matter what version their browser is.

modernizr HTML5 Template Generators, Frameworks And Tools

52framework

Technically not a generator, but a downloadable framework which expedites the development process. 52framework eliminates the hassles of HTML5 and lays out everything right in front of you, making development faster and easier.

52framework supports a large variety of browsers, making cross-browser compatibility a less issue. And the good news for developers? It even supports IE6 partially!

52framework HTML5 Template Generators, Frameworks And Tools

HTML5 Editors

Aloha Editor

Since we’re already talking about services and applications that expedites development, here’s an amazing tool to help you edit your site content with xHTML5 compliant content.

Aloha Editor is an HTML5 editor, not just any editor, but a WYSIWYG editor that can modify your site content instantly, as soon as you make the changes in the editor.

aloha HTML5 Template Generators, Frameworks And Tools

Wallaby

Every dreamt of converting Flash animations to HTML5? Wallaby, a project by Adobe, makes the conversion of Flash animations and artworks to HTML5 possible, rendering the files editable on Dreamweaver or other editors.

wallaby HTML5 Template Generators, Frameworks And Tools

References

Dive Into HTML5

A great and enjoyable book to start learning about HTML5 in a creative way of thinking, this is also a good resource that gives a fresh idea for people who already know the workings of HTML5.

dive into html5 HTML5 Template Generators, Frameworks And Tools

HTML5 Reference

An original W3C’s guide to HTML5, with focus on simplicity and practical applications for beginners, while providing detailed information for advanced web developers.

html5 references HTML5 Template Generators, Frameworks And Tools

More

For now, there isn’t much to see actually. There are still, relatively, few tools for HTML5 framework and templates to use, as you may have noticed if you checked the links, most of the features for each generator/framework are similar. I may have missed tools that you are using to develop awesome HTML5 websites, so if you’d like to share feel free to post them in the comments!

Also, do check out our posts if you are willing to get more about HTML5!