HTML CSS examples for CSS Animatable Property:font-stretch
The font-stretch property is not supported by the Chrome, Safari and Opera browsers.
-webkit- prefix is for Chrome, Safari, Opera.
-moz- prefix is for Firefox.
<!DOCTYPE html> <html lang="en"> <head> <title>Example of CSS3 font-stretch Property Animation</title> <style type="text/css"> .animated {<!--from w w w. j a v a2 s. co m--> font-size: 24px; font-family: Arial, Helvetica, sans-serif; font-stretch: ultra-condensed; animation: test 4s infinite; } @keyframes test { 50% {font-stretch: ultra-expanded;} } </style> </head> <body> <p class="animated">This is an animated paragraph.</p> </body> </html>