Web Fonts

Web fonts are hosted by an external server or service such as Google Web Fonts, Adobe Typekit, or Monotype Inc. Fonts.com. These web fonts allow designers to pull typefaces from a server to display those typefaces on their own websites.

Without Web Fonts, a user's computer may not display the right font because their computer lacks the proper file. It is very important to declare and use web fonts, or a user's computer will determine a replacement automatically.

Web Fonts vs. @font-face

@font-face is a css feature that allows you to use fonts that exist on your computer as a web font. It is advisible that you only use @font-face when you are certain your typeface has the correct copyrights that allow it to be used as a web font.

Web Fonts are typefaces that have been optimized and cleared for use on websites.

Font Fallbacks

Font Fallbacks are written in CSS as a way to prevent the user's computer from using a system default font in case your web font doesn't load properly.

Writing a Fallback

An example of a font fallback:

font-family: 'Muli', 'Tahoma', sans-serif;

Google Web Fonts

Font Squirrel

Pseudo Classes

Pseudo classes deal with 'events'in CSS. Typically, a pseudo class will wait for the user to perform a certain action before it runs the CSS will run.

Transition Effects

Hover 1

Hover 2

Button Transitions

Hover 3

Hover 4