You are here |
adropincalm.com | ||
| | | |
bitsofco.de
|
|
| | | | Articles on frontend development and more. | |
| | | |
www.smashingmagazine.com
|
|
| | | | Depending on how a user browses the Internet, modal windows can be downright confusing. Modals quickly shift visual focus from one part of a website or application to another area of content. This scenario is more common than it should be. And it's fairly easy to solve, as long as you make your content accessible to all through sound usability practices. In this article, Scott O'Hara has set up ademo of an inaccessible modal windowthat appears on page load and that isn't entirely semantic. First, interac... | |
| | | |
jshakespeare.com
|
|
| | | | Say you want to display a numeric value on a webpage with a count-up animation, like this: There are a few popular libraries that will do this for you, often with lots of configurable bells and whistles. I'm always reluctant to add a dependency to my application that I could write myself in under an hour (and you should be too), so I did just that. Here's the code in vanilla JavaScript using the DOM API (CodePen here): // How long you want the animation to take, in ms const animationDuration = 2000; // C... | |
| | | |
hadihariri.com
|
|
| |