I want some small fonts to look with no smoothing. Is it possible to disable font smoothing using HTML/CSS?
Yes, it's possible, but not for all browsers.
font-smooth: auto | never | always | <absolute-size> | length | initial | inherit
-webkit-font-smoothing : none | subpixel-antialiased | antialiased
For your case:
font-smooth: never;
-webkit-font-smoothing : none;
UPD(for Chrome): Force Font Smoothing in Chrome on Windows
Yes, although I can't say which browsers will take any notice of you!
You can write
<p style="font-smooth:never;">
to get the effect you want.
EDIT
I was sure I had used this some months ago, but I read on the Mozilla Network
Though present in early (2002) drafts of CSS3 Fonts, font-smooth has been removed from this specification and is currently not on the standard track.
Sorry!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With