Reading Time: 4 minutesI’ve said before and I’ll say again that contenteditable is one of the coolest attributes you can apply to an element. This lil’ gem originates from Microsoft, of all places, and has been there since IE5.5. Well, the other browsers … Continue reading
Tag: clever CSS
Clever CSS Tricks: Debugging HTML and CSS with Generated Content and Pseudo Elements
Reading Time: < 1 minuteJust this morning I had a small conundrum where I was trying to debug some HTML and CSS that I had written. Specifically, I was trying to figure out where some of my wrappers were, and how some alt and … Continue reading
CSS for a CMS: Adapting to what the content author puts on the page
Reading Time: 5 minutesWorking in Content Management System (CMS) implementations has its challenges. While some of those challenges are in the application itself, many can be with the content authors. Content authors expect a certain amount of flexibility in how they can add … Continue reading
CSS3: Structural Pseudo-Class Patterns
Reading Time: 4 minutesCSS3 offers a ton of brand new ways that you can select elements in ways we’ve never thought of before. Today I want to focus on exclusively the structural pseudo-classes, which are ways of selecting elements based on the document … Continue reading
Clever CSS3 Tricks: Using the em in text-shadow and box-shadow
Reading Time: 3 minutesAny of my web development buddies have learned that I’m a huge fan of the em. Huge fan. We’d be Facebook friends, we’d go on vacation together, yadda yadda yadda. When you look at my online resume you’ll be hard-up … Continue reading
Clever CSS Tricks: using :target to create accordions
Reading Time: 3 minutesIn an interview with Jacob Gube from Six Revisions on the subject of exciting developments in CSS3, Eric Meyer said …the power to describe Web 2.0 designs in CSS is insignificant compared with the power to select every third table … Continue reading
HTML5 contenteditable and CSS
Reading Time: 2 minutesMy absolute favorite HTML5 attribute is “contenteditable”. It makes the contents of the element editable. It’s an incredibly simple feature that has tons of potential for your website.In fact, I’ve already seen it paired with localStorage or Web SQL APIs … Continue reading