4 ms·
Nice :) Just some feedback, there's about a 1 second delay before the final text is rendered on initial load. This creates a slight jarring experience due to r
by wamatt 14y ago
Nice :)
Just some feedback, there's about a 1 second delay before the final text is rendered on initial load. This creates a slight jarring experience due to resizing, kinda analogous to the infamous @font-face FOUC/FOUT issue
Tested on latest versions of Chrome, Firefox and Safari.
- dsellergren 14y agoIt's actually exactly a 1 second delay: $(window).load(function() { setTimeout(slabTextHeadlines, 1000); });
- jonah 14y ago"Always call the script after all fontface fonts have downloaded. I’ve hacked this for the demo to enable you to see the headline transformation as the script kicks-in but you should always use google WebFont loaders active() and inactive() callbacks to launch the slabText treatment (or a similar "font loaded" callback feature from another font provider)."