Have a font that doesn’t have an italics variant? Does your browser try to attempt to “obliquify” it (badly) or not do anything at all? There is a simple solution to this problem using CSS3 Transforms.
Entries Tagged as 'CSS'
Giving Challenged @font-face Fonts The Italics Makeover
Tags: @font-face · CSS · CSS3 · Fonts · transform
How to Make ClearType, @font-face Fonts and CSS Visual Filters Play Nicely Together
Ever had a problem with using IE’s Alpha Visual Filter and getting blocky text? A solution has been found, and it doesn’t use JavaScript. I expect to hear a sigh of relief from many developers.
Tags: @font-face · ClearType · CSS · CSS3 · Fonts · IE Visual Filters
Coding Colors Easily Using CSS3 hsl()
Notation
The seemingly impossible task of coming up with color codes off the top of your head can be done easily using CSS3’s hsl
color notation. Read how you can use this “human-friendly” and how it can work in the few browsers that don’t support it natively.
Tags: Color · CSS · CSS3 · hsl/hsla · Polyfills
cssSandpaper Now Supports transform: translate()
and rgba()
Gradients
In the first in a planned series of posts, I update cssSandpaper with new features. This week I add IE support for translate()
support to CSS transforms and alpha channel support to linear gradients.
Tags: Color · CSS · CSS3 · IE Visual Filters · JavaScript · Polyfills · rgb/rgba · transform
CSS3 Please – Another Great Cross Browser CSS3 Solution.
Although I have been doing a lot of work on cssSandpaper lately (JavaScript API for cross browser CSS3 animation anyone?), I have also spent a little time on an equally worthwhile project CSS3 Please. While cssSandpaper tries to give developers an all-in-one interface in which to do transforms, gradients and other nifty effects via simple CSS and JavaScript, CSS3 Please gives developers the opportunity to fill in the blanks of a stylesheet and see how CSS3 properties can be coded without the aid of JavaScript so that they work across the browsers that support it.
Cross-Browser Animated CSS Transforms — Even in IE.
This is a follow-up article to my original CSS3 Transform article where I extend cssSandpaper to support scripting. Now you can animate Css3 Transforms (as well as gradients, opacities and box-shadows) in all browsers, including IE, without a lot of issues. Includes lots of neat examples.
Tags: CSS · CSS3 · gradients · IE Visual Filters · JavaScript · Polyfills · transform
Cross Browser CSS Transforms – even in IE
The CSS transform property allows developers to rotate, scale, and skew blocks of HTML via CSS. There are variants that work natively on all major browsers … except for IE. I created a new library, cssSandpaper, that implements CSS3 transforms (as well as gradients and box-shadows) in IE. It also allows developers to use one transform declaration, instead of three vendor-specific ones for Opera, Firefox and WebKit browsers.
Tags: box-shadow · CSS · CSS3 · gradients · IE Visual Filters · JavaScript · Polyfills · transform
Introducing: The Type Rendering Project
Join a project that will allow developers to find ways to make web type look better right now.
Tags: @font-face · CSS · CSS3 · Fonts
How to Detect Font-Smoothing Using JavaScript
Not all @font-face fonts look good when font-smoothing is turned off. Now you can detect whether a font smoothing technology is being used and serve alternative fonts for those users.
Tags: @font-face · ClearType · CSS · CSS3 · Fonts · JavaScript
More @font-face fun
My first post @font-face in Depth got a huge amount of unexpected attention. Thank you all for your comments and criticism. Since the post, there have been quite a bit of information I have read about and thought I should share. SVG fonts for Opera and Chrome Jonathan Snook wrote a great article regarding Opera […]
Tags: @font-face · CSS · Fonts · SVG