Standardista

CSS3, JavaScript and HTML5 explained

CSS Color Formats and HSL

| February 28, 2010

Prior to CSS3, we had 3 types of color formats: there was the hexadecimal format (and shorthand hex format), rgb() format and named colors. CSS3 adds support for HSL, HSLA and RGBA. Here are the formats we have in CSS3:… More …

Introducting CSS3 Colors

| February 25, 2010

Defining colors in red, green and blue is supported by CSS3 in several ways.

Hexadecimal Values

You can declare the hexadecimal value of your red, green and blue with hexadecimal values ranging from 0 to 255 in the format of … More …

Making IE recognize HTML5 elements

| February 21, 2010

IE6, IE7 and IE8 don't recognize the HTML elements. This causes a major problem when you're using the HTML5 elements, such as 'aside', as part of (or your complete) selector in your CSS. Add this snippet either in your HTML or as a condionally included file, and IE will be able to handle your HTML5 elements as selectors in your CSS, and as members of your DOM in javascript.