CSS

by

A snake eating its tale, with the letters CSS printed on its face

Reading Time: 14 minutesEvery once in a while someone asks specifically about how to manage CSS performance for a website. What if there’s a lot of components? What if there’s a lot of animations? What if there’s a lot of just CSS?

by

A twist on the famous regex-cannot-parse-HTML stackoverflow answer except it's regex and text parsing, followed by regexes

Reading Time: 14 minutesHygenic code is commented code. But often, it can be difficult to understand where, when, or even how to comment your front end code. So I’d like to share a small guide for writing comments in your front-end that makes the developer experience better for everyone.

by

SyntaxErrors in a development environment are very much like the grammar teachers of old: fucking unhelpful

Reading Time: 12 minutesThis here is a friendly introduction to linguistics for programmers. There are many ways to improve our programming skills: watching videos, reading articles, hackathons, and doing code competitions. But there’s another way that gives us less time in front of an IDE: Learning to think about how programming works. We’re not talking about how compilers

by

The hardest part about CSS actually isn't calculating specificity. It's saying 'specificity'.

Reading Time: 8 minutesThere’s a seldom-discussed concept in web software development called cyclomatic complexity which is a metric used to indicate how complex a program or unit of code is. It’s not discussed very often because, well, it’s really not exciting. You can get VS Code plugins that will measure the cyclomatic complexity and they can be somewhat

by

Some Pretty terrible class names

Reading Time: 9 minutesPhil Karlton has famously said that the two hardest things in computer science are naming things and cache invalidation. That’s true. Naming stuff is hard, and so is updating a class name when the stylesheet is cached.

by

Reading Time: 5 minutesSo you’re a back-end developer. You write .net or Java all day. You create Schemas and Templates in Tridion. It’s Friday. The front-end developers have signed off early and you just got a high priority bug. And it’s in the CSS. You hate CSS. What do you do?

by

Reading Time: 5 minutesI had a discussion recently about whether to put CSS into Tridion as multimedia components or code components, and it triggered a really fun discussion. We talked about all of our different strategies and use-cases for managing the CSS in SDL Tridion, and it seems like something that other folks may ask about in the

by

Reading Time: 4 minutesAs I’ve mentioned previously, I recently left Tahzoo and started working at a new company called Content Bloom. Last week was Content Bloom’s global training summit, held in Halifax, Nova Scotia, Canada (if that’s a real place). Everyone at the company presented on a topic; it’s a chance for us to all teach each other.

by

Reading Time: 2 minutesA 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