W3CSS Theme - Container Classes

By drupalhero |

Working with Pseudo-classes Many HTML elements have special states or uses associated with them that can be styled independently. One prime example of this is the link tag which has link (its normal state), a visited state (when the visitor has already been to the page represented by the link), hover (when the visitor has their mouse over the link), and active (when the visitor clicks the link). All four of these states can be styled separately.

W3CSS Theme - Animation Classes

By drupalhero |

Choose an organization scheme You should choose a consistent organization pattern and stick to it. I’m not going to tell you how to organize your style sheets—that depends on what works for you—but here are a few ideas to consider: Organize by selector type. Start with HTML selectors, then IDs, and then classes. Organize based on page structure. Group rules based on their parent tags. This works even better with HTML5 because page structure is stronger. The downside occurs when the same rules need to be applied at different places in the page.

W3CSS Theme - Round Classes

By drupalhero |

Rounded corners can help soften an otherwise sharp design, but they have been difficult to achieve using images. CSS3 includes a simple method for rounding off one or all of the corners of an element’s box: border-radius. Both Mozilla and Webkit have implemented their own versions of border-radius in advance of the final W3C pronouncement, and you need to take these browser extensions into account for the widest interoperability. To set rounded corners:

W3CSS Theme - Table Classes

By drupalhero |

Setting the Table layout Different browsers use different methods to calculate how a particular table should be displayed. Two primary table-layout. Fixed method bases its layout on the width of the table and the width of columns in the first row. This method is generally faster than automatic.  Automatic uses the table column width along with the amount of content in the table data cell to calculate the table data cell width. This will generally render more slowly than the fixed method, but it also produces more accurate results for widths throughout the table.

W3CSS Theme - Default Background Color

By drupalhero |

The ability to set the background color on an HTML page has been around almost since the first Web browsers. However, with CSS you can define the background color, not only for the entire page, but also for individual elements using the background- color property. Unlike the color property, though, background colors are applied only to the element, and are not directly inherited by its children. That said, by the very fact they are within the parent, they will be set against that background. To define the background color of an element: 1.