CSS

by

So, my good buddy Wes has fallen in love with BEM, that glorious HTML/CSS methodology that adds reinforced steel to your front-end framework. And he discovered the other day that someone has written a SASS mixin for writing BEM. But…but…I’m more of a Stylus fanboy. Where’s my mixin? Oh, here it is…

by

In the last few months I’ve become a pretty big fan of a particular CSS preprocessor called Stylus. Stylus is a node.js-powered preprocessor that I’ve used with some clients. Stylus has offered a huge boost in both my productivity and quality— and I’ve conjectured that it even gives me an edge performance. After seeing huge

by

Last week I was hit with a small challenge of fixing a snippet of code that fixed a problem with a third party application called Media Manager. It  does some pretty nifty things with videos — but it also injects a <style> into the <body>. Because it does that, I had a challenge in changing the dimensions

by

At my Media Manager presentation at Tridion Developer Summit a few weeks ago, I showed a trick for resizing your Media Manager videos outside of Media Manager’s outlets. This morning, I learned that there was a bug with the approach, and this afternoon, I found a fix. Let’s discuss.

by

A good long while ago, I discovered that contenteditable was a pretty nifty attribute to play with, especially when you get CSS involved. Then I stumbled upon the scoped attribute which you can apply to a <style>block, which isolates styles to a specific container. And then I wrote a jQuery plugin. Well, now it’s gotten

by

A while back I wrote about an amazing discovery I’d made in which I learned that stylesheets are part of the DOM. I mentioned some properties to play with for fun and profit, and then heartily went on my way. Today I’d like to explore the CSSOM with a little more discipline, and also explain

by

I’ve been working for the last month or two on some super cool mobile templates for a client. As I’ve mentioned in other posts, we’ve pulled out all of the awesome for this. If Tridion were a person, it would be peeing its kilt with excitement every day — even though it definitely isn’t wearing

by

CSS is so cool and easy! Since it’s not a programming language, anyone can do it! You just need to know the properties and how to write a selector, and the job is done! If you agreed with any of those statements, then this post is for you. CSS is cool, but it isn’t easy.