Latest articles tagged HTML

Teaser image

The Star Wars opening crawl has been replicated many times in HTML/CSS. It's almost a rite of passage for frontend web development students of a particular geekly persuasion. I threw my hat into that ring several years ago, and made an exacting reproduction of the Episode IV crawl (though never published it). I recently re-visited that project and decided to put an absurdist spin on it by turning the crawl into the most impractical weather report possible. Read more...


Teaser image

I ran across a quirk of CSS recently, related to the box model, that struck me as counter-intuitive behavior. To be honest, it's an issue I've repeatedly run into over the years that I've always bumbled my way around, and never fully understood.

Consider this simple example of a <div> element with a child <p> element that has top and bottom padding. Read more...