background preloader

CSS

Facebook Twitter

CSS3 Buttonize Framework - Light-Weight, Flexable Instant Button Framework. Gridless - An awesome boilerplate for responsive, cross-browser websites. Layer Styles. Creating Triangles in CSS « Jon Rohan’s Web Developer Field Guide. I’ve come across a few techniques and tips in my career, while working at my last gig a co-worker pointed me to this technique.

Creating Triangles in CSS « Jon Rohan’s Web Developer Field Guide

I believe this was originally discovered by the legendary Eric Meyer, but I couldn’t find much documentation about it on the web so I thought I would describe it here. How it works Few people realize when a browser draws the borders, it draws them at angles. This technique takes advantage of that. One side of the border is colored for the color of the arrow, and the rest are transparent. Drop shadow with CSS for all web browsers. This article is also available in Bulgarian One of the most common CSS effects is using shadows in various ways.

Drop shadow with CSS for all web browsers

Before, we needed to resort to images, but now we can offer this to all major web browser with CSS! Web browser support Believe me or not, but all of these web browsers we can offer shadows with CSS: Firefox 3.5+Safari 3+Google ChromeOpera 10.50Internet Explorer 5.5 The standards way As we all know, a majority of the web browsers implement features in a standardized way, while others don’t (although they are getting better at it). 1..shadow { 2. box-shadow: 3px 3px 4px #000; The first value describes the x-offset (could be a negative value as well), the second the y-offset, the third the radius of the shadow and the fourth the color of it. 2. 3. 4. box-shadow: 3px 3px 4px #000; What about Internet Explorer?

Luckily enough for us, there are a couple of filters we can use to make this work: The DropShadow filter and the Shadow filter. 2. /* For IE 8 */ 3. 4. /* For IE 5.5 - 7 */ 02. 03. CSS Cheat Sheet (V2) - Added Bytes by Dave Child. The second version of the CSS Cheat Sheet, a quick reference guide for CSS, listing selector syntax, properties, units and other useful bits of information. Get It Today! Including: - CSS Selectors and Pseudo-Selectors - CSS Properties - CSS Units - CSS Box Model Buy Now - Pay What You Like! (the average paid so far is $2.12.) Overview The CSS cheat sheet is a one-page reference sheet, listing all selectors (as of CSS 2.1) and properties.

What's New? There are a few small changes from the first version of the CSS Cheat Sheet (which you can still download if you prefer). The content is largely unchanged. Selectors Given the number of possible selectors in CSS, it is no wonder some people often become confused. Pseudo-Selectors Pseudo-selectors are used when defining styles for elements that either do not exist, or are in a particular state. Units CSS allows the author to define dimensions and colours in many different ways, which can be especially useful when combined with media types.

Box Model. CSS Navigation Techniques (37 entries) CSS Compressor - Online code compressor for Cascading Style Sheets. 30 CSS Best Practices for Beginners. Equal Height Columns with Cross-Browser CSS and No Hacks. By Matthew James Taylor on 17 October 2008 Creating equal height columns with CSS is not as easy as it may first seem.

Equal Height Columns with Cross-Browser CSS and No Hacks

This tutorial highlights the display problems that occur with multiple column layouts, and then shows a simple solution that works in all common web browsers. The method shown here is 100% CSS hack-free, image-free and JavaScript-free so it can even be used on the most strictly coded websites. For those who want some action immediately check out my demo pages: 2 column, 3 column, 4 column and 5 column. Also see my Perfect multi-column CSS liquid layouts - these use the same equal height column CSS principles as discussed below. The problem with equal height columns In the example above we have three columns each with a different amount of content.

Separating the column content from it's background colour The first step to solving the equal height problem is to break it into smaller pieces that can be solved separately. Three column HTML div structure. CSSWARP - CSS Text to Path Generator.