CSS Tutorials
Lazy Load Resources Based on Element Presence
Fans of AMD JavaScript will probably tell you that they love loading only what they need, when they need them. I am one of those people. Let's take a site like mine for example: some pages require a syntax highlighter, some do not. Why make the...
CSS Vertical Text
Almost every HTML element we create is thought of in the frame of horizontal. We pay much more attention to widths than we do heights, especially when it comes to text within them. Sometimes we do, however, want to display element text in a vertical fashion.
How Nesting 3D Transformed Elements Works
CSS animations are incredibly popular right now, and I don't just mean animating a simple color or dimension property, I mean 3D transformations as well; CSS flips and rotating cubes being prime examples. We can find simple CSS snippets and examples for transforms, but...
Startup Framework: Website Builder, Bootstrap Themes and More
One conclusion that I've come to when evaluating my skills is that I'm not a designer. Each time I redesign this blog, I identify a few sites I like and then meld them together. Of course that means I end up with UI components that...
Detecting CSS Animation Completion with JavaScript
One fact of web development life in 2014 that's been difficult for me to admit is that the traditional JavaScript toolkit is mostly dead. For years we relied on them for almost everything but now that JavaScript and CSS has caught up with what we need...
Tweet For Code #2
You don't need a thousand lines of code to make a big difference in any coding language. Oftentimes it's quite the opposite: a few tiny code snippets can do a world of good and accomplish big things. I asked my Twitter followers to tweet to me their...
Style External Links with CSS
Styling external links is a common practice on most informational sites likes Wikipedia. As a user, it's nice to know when you're being sent to another resource. Many sites do the external links check on the server side, adding a `rel=external` attribute value or `external` class...
HTML5 Input Types Alternative
As you may know, HTML5 has introduced several new input types: number, date, color, range, etc. The question is: should you start using these controls or not? As much as I want to say "Yes", I think they are not yet ready for any real life...
CSS animation-fill-mode
We're always super excited to get into CSS animations because, quite frankly, they're incredibly awesome. One overlooked animation property, however, is the
animation-fill-mode
property. This CSS property sets the state of the end animation when the animation is not running. Here's a quick example: In the case...5 Ways that CSS and JavaScript Interact That You May Not Know About
CSS and JavaScript: the lines seemingly get blurred by each browser release. They have always done a very different job but in the end they are both front-end technologies so they need do need to work closely. We have our .js files and our .css, but...