Most developers, even experienced developers, don’t understand the value of deeply nesting CSS selectors. Although writing the same selectors over and over might seem redundant, it’s worth the extra effort. Your code will be better organized, easier to read, and more maintainable…
-
Why You Should Deeply Nest Your CSS Selectors
Posted: 3 weeks ago in Articles
-
Multiple Class / ID and Class Selectors
Posted: 3 weeks ago in Tutorials
It’s possible to use combinations of classes and IDs to target elements that have combinations of classes and IDs. This article explains that clearly with some easy to understand examples…
Read More: Multiple Class / ID and Class Selectors
-
CSS 100% Height
Posted: 3 weeks ago in Code
A common problem among designers is how to get a div to stretch 100% of the window’s height. There are a few different techniques out there, but I came up with one that is my personal favorite, which I will share with you today…
Read More: CSS 100% Height
-
Simulate Realism with CSS3
Posted: 3 weeks ago in Tutorials
CSS3 is here to make our lives easier as web designers and developers. While it’s not something we can always rely on heavily for layout purposes just yet, we can use it to enhance certain aspects of our designs by spending a considerably less amount of time doing so.
However, CSS3 has not been created for the sole purpose of making it easier and quicker to create a website but also so we can create much better sites than we ever could with CSS before. Here are a few examples…
Read More: Simulate Realism with CSS3
-
EZ-CSS: An easy to use, lightweight, CSS framework
Posted: 3 weeks ago in Tools
ez-css is a different kind of CSS framework. Authors are not bound to a “grid”. Plus, columns and gutters can be of any width.
ez-css works by forcing the final element in the HTML flow to become a block formatting context (using “hasLayout” for Internet Explorer lt 8)…
Read More: EZ-CSS: An easy to use, lightweight, CSS framework
-
CSS3 Examples and Best Practices
Posted: 1 month ago in Tutorials
The CSS3 trend is getting more and more popular. In fact CSS3 new features open a lot of new possibilities. However, don’t get too excited so soon because it is not fully supported by all browsers yet. But this doesn’t mean you shouldn’t use it at all. So, when should you use CSS3 new features? Well, continue on this post to see some excellent examples…
Read More: CSS3 Examples and Best Practices
-
CSS Rounded Corners In All Browsers With No Images
Posted: 1 month ago in Tutorials
In this article we’ll walk through getting rounded corners working in all browsers. Firefox, Safari and Chrome are easy with the border-radius property, but we’ll have to jump through some extra hoops to get it working in IE and Opera.
After only a few compromises, we will have CSS rounded corners working in all browsers, and without using any images…
Read More: CSS Rounded Corners In All Browsers With No Images
-
The Hidden Power of border-radius
Posted: 1 month ago in Tutorials
So hopefully after reading – Understanding CSS – Padding, Positioning and CSS3 – you understand the basics of CSS and have been experimenting with other properties. It is important to remember that some properties will allow you to achieve effects that aren’t necessarily stated. In this post we will explore the property border-radius and how it can be used to create circles, semi-cricles and quarter-circles. It also has the potential to produce some terrific designs using just CSS – no images…
Read More: The Hidden Power of border-radius
-
CSS Bar Charts – Styling Data With CSS3 and Progressive Enhancement
Posted: 1 month ago in Tutorials
Bar charts in CSS are neither very new, or very difficult. Using some pretty basic styling you can force lists etc into resembling graphs and charts fairly easily. Such charts, in their most basic form, work perfectly well in displaying and presenting the data they represent. However, using some rich CSS3 and progressive enhancement, you can really start pushing the display and presentation of these normally boring documents to the next level. They are also an ideal way in which to demonstrate the power and ability of progressive enhancement…
Read More: CSS Bar Charts – Styling Data With CSS3 and Progressive Enhancement
-
Forgotten CSS selectors
Posted: 1 month ago in Tutorials
Anyone who has been using CSS for any length of time has probably been frustrated by the lack of selector support in Internet Explorer 6. There are quite a lot of cases where a CSS 2.1 selector will let you target elements in all other relevant browsers, but where you, if you want it to work in IE 6, have to add a class or id attribute to the HTML. Well, the market share of IE 6 is now finally at a level where we as developers can say that a site “supporting” IE 6 does not mean “looking pixel perfect”. Fortunately more and more clients understand this as well. IE 7 has been out for well over three years and IE 9 is on the horizon, so I think it’s time to revive those CSS selectors that you never got to use just because IE 6 doesn’t understand them. Here are brief explanations of some of the most useful “forgotten” CSS 2.1 selectors…
Read More: Forgotten CSS selectors