-
Microsoft’s CSS Filters, Could The Syntax Be Any Uglier?
The answer is no 🙂 While some of the functionality of MS’s CSS filters is actually pretty useful (sue me, I need to use them from time to time), the implementation is ugly as hell. Ryan, one of the smart guys here that helps me fool people into thinking I know what I’m doing, had…
-
I, For One, Welcome Our New CSS3 Overlords. As Long As They Bring box-sizing With Them.
I’ve always preferred the “IE Box model.” I’ve always wanted width to actually be the width of the element. Instead, I’ve been forced, for years, to break out my math skills to calculate “actual” value of the width property by subtracting padding, margin and borders. That still seems broken to me after all these years.…
-
I Love You, border-radius. You Too, box-shadow. No, I Didn’t Forget About You, rgba Color!
As I’ve mentioned I’m doing a couple of HTML5 implementations and in one of them I was faced with some “post” boxes in a WordPress theme that featured both rounded corners and a drop shadow. Since I’m using already using Modernizr, which exposes specific CSS3/HTML5 feature support on the HTML element, I figured I’d do…
-
How Difficult Is It To Avoid Expensive CSS Selectors?
I’ve read all the articles and I’m still compelled to write rules like this one I wrote earlier tonight: #main-menu .primary a{ color:#7b0000; } I know I’m not alone in using rules like that. It’s a super common pattern.
-
Fun With the :Hover Pseudo Class and Code Samples
This being a technology blog, with plenty of code samples being posted on a regular basis, it’s no surprise I give soem thought as to how that code is displayed. Personally I’ve gone for the old school, green on black text (using the excellent code font Consolas, where possible.) I like the way it looks.…