Changing the tab (or window) title is an age old practice. Gmail does it to notify the user of a new chat message and this blog does it to update the tab title after a new page loads via AJAX. How is it done? By setting a property on the
document object, of course:
That property, of course, is
document.title = 'Hello!'; // New title :)
One common misconception is that you change the
window.title property, but you must use the
document object, otherwise you'll see no effect. You'll oftentimes see a
setInterval used with
document.title to quickly change title to get the user's attention.
I spent a few months experimenting with different approaches for writing simple, elegant and maintainable media queries with Sass. Each solution had something that I really liked, but I couldn't find one that covered everything I needed to do, so I ventured into creating my...
Before we start, I want to say thank you to David for giving me this awesome opportunity to share this experience with you guys and say that I'm really flattered. I think that CSS animations are really great. When I first learned how CSS...