O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 30
image
Dynamic Text and Typography
This chapter explores a range of dynamic classes for enhancing the way you use text in a web page, including a typewriter or teletype effect, a way of cleaning up strings by removing unwanted characters and whitespace, a class for automatically loading Google fonts in from the Google servers when you reference them, one for vertically aligning text within an object, and another for creating glow effects by cycling the foreground and background colors of objects.
image
Typetext (typetext[n])
This class displays ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required