Book Image

Professional CSS3

By : Piotr Sikora
Book Image

Professional CSS3

By: Piotr Sikora

Overview of this book

CSS is the preferred technology to design modern web pages. Although CSS is often perceived as a simple language, applying modern styles to web pages with CSS and maintaining the code for larger websites can be quite tricky. We will take you right from understanding CSS to designing high-quality web pages in CSS3. We'll quickly take you through CSS3's features, and show you how to resolve common issues so you can build your basic framework. Finally, you will learn about code architecture and CSS methodologies used in scalable apps and you'll explore the various new features of CSS3, such as FlexBox, to help you create the most modern layout methodologies. By the end of the book, you will be a master at creating pure CSS web pages and will know sophisticated web design techniques, giving you an edge over other web designers.
Table of Contents (21 chapters)
Professional CSS3
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Additional font and text features


Font features in CSS have changed a lot in the past 5 years. Back in the day, there was no opportunity to use non-standard fonts and as it was described safe for internet. This was one of the issues that made Flash technology trendier, not only because of full Flash pages but because of Scalable Inman Flash Replacement (SIFR). With SIFR, you just needed to attach your font in Adobe Flash and compile the file; you could then use your font on the website. But you had a webpage in HTML with Flash instances. Then, there was a methodology based on JavaScript called cufon. You could use your font to visit the cufon page, compile your font, and then attach cufon.js on your website and your compiled font (JS file). In JavaScript, you needed to add which font should be swapped and finally your font was visible on the website.

Nowadays, we can use font-face and use custom fonts in the web version.

Using non-standard fonts in browsers

If you want to use your font in the...