W3CSS Theme - Hover Classes

By drupalhero |

Here are six simple things you can do to improve the appearance of your Web page when it is printed.  Use page breaks before page headers to keep them with their text. Separate content from navigation. Try to keep the main content—the part your audience is interested in reading—in a separate area of the design from the site navigation. You can then use CSS to hide navigation in the printed version with a nav included in the print style sheet. Avoid using transparent colors in graphics. This is especially true if the graphic is on a background color or a graphic other than white.

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 - Border Classes

By drupalhero |

The border property allows you to set a rule (line) around all four sides of your box in any color and thickness using a variety of line styles. Also, using additional border properties, you can independently set the borders on any of the four sides, giving you amazing design versatility. To set the border: 1. To set the border on all four sides, type the border property name in the CSS declaration block, followed by a colon (:) border: 2. Type a border-width value, followed by a space.

W3CSS Theme - Modal Classes

By drupalhero |

Once your libraries, frameworks, and sitewide CSS are ready to go live, you need to pick the best strategy for deployment. It is always recommended that you place all your styles in one or more external style sheets, and then use either the @import code to apply them to a Web document. You have two competing priorities: 

W3CSS Theme - Font & Text Classes

By drupalhero |

It’s sometimes difficult to keep track of all the values that you are using in your design. It’s unlikely that CSS will ever include constants, so it will help to keep notes in an easy-to-reference location in your document. Creating a glossary of colors and types leads to more consistent and attractive designs  Although section headers and dividers really aren’t anything more than CSS comments, they do help organize your CSS and allow you to quickly scan your code to locate particular CSS rule groups. If you have established a TOC, I recommend reflecting that organization here.