GitHub - im4aLL/chromeSmoothScroll: Smooth scrolling for chrome browser. Responsive Sticky Sidebar. Edit fiddle. How to detect a click outside an element? Typekit/webfontloader: Web Font Loader gives you added control when using linked fonts via @font-face. Dynamically load google fonts after page has loaded. How to Improve Page Performance with a Font Loader. A big thanks to Jason Pamental for the inspiration to write this article.
I’d never have considered the issue otherwise! When was the last time you used Arial, Times New Roman, Helvetica or … shudder … Comic Sans in your web pages? Web fonts took too long to arrive but, once they did, we never looked back. Fonts are fun, (often) free and fast to implement: @import url( You can then use the font throughout your pages, e.g. The fonts also work in mobile devices so users get a great experience in your Responsive Web Design. Or do they? After images, fonts are the normally the largest assets in your web page. We rarely worry about font weight problems and make excuses such as “it’s only an issue on the first page” or “many users will have the font cached”.
Many designers and developers argued that the default font loading method called the “Flash of Unstyled Text”, or FOUT, was an annoyance to users. This is when the fallback web font, say Georgia, is shown on screen first then replaced by a custom font when it loaded. They argued that it would make for a more cohesive browsing experience if users simply waited for everything to download instead of experiencing this flash from one typeface to another. But today this is not the case. In fact, this practice of letting a browser hide all the text that should be styled with a custom font is now called the ‘Flash of Invisible Text’, or FOIT, and is often regarded as the worst of all possible options.
Furthermore, you can also use this method to load touchSwipe, a jQuery plugin for touch gestures, conditionally. The above code will test for touch capability. Final Thought. On scroll animations using waypoints.js and animate.css - Did you ever wonder how the best themes implement on scroll animations?
Edit fiddle. Edit fiddle. Edit fiddle. Jquery - Animate.css + Viewport Checker delay?