background preloader


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. As you can see there are triangles hidden in that square. With a little creativity and tweaking there are lots of shapes that can be made. Now for application: This is a classic chat bubble, no images used. 1 <div class="chat-bubble">2 Buongiorno! This technique doesn’t work in ie6 as is, mainly because ie6 doesn’t allow transparent borders, but there is a fix for that. 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.

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. CSS Navigation Techniques (37 entries) CSS Compressor - Online code compressor for Cascading Style Sheets. 30 CSS Best Practices for Beginners. CSS is a language that is used by nearly every developer at some point.

30 CSS Best Practices for Beginners

While it's a language that we sometimes take for granted, it is powerful and has many nuances that can help (or hurt) our designs. Here are thirty of the best CSS practices that will keep you writing solid CSS and avoiding some costly mistakes. The readability of your CSS is incredibly important, though most people overlook why it's important. Great readability of your CSS makes it much easier to maintain in the future, as you'll be able to find elements quicker. Also, you'll never know who might need to look at your code later on. <editors-note> When writing CSS, most developers fall into one of two groups. Both practices are perfectly acceptable, though you'll generally find that group two despises group one! Along the lines of keeping your code readable is making sure that the CSS is consistent. Many designers have their own framework that they have created over time, and that's a great idea too.

As Mr. 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. CSSWARP - CSS Text to Path Generator.