Search

Nalezeno "font": 260

Firefox’s `bolder` Default is a Problem for Variable Fonts


Variable fonts make it easy to create a large set of font styles from a single font file. Unfortunately, the default rendering of the <b> and <strong> elements in browsers today is not very compatible with the wide range of … The post Firefox’s `bolder` Default is a Problem...

Some Typography Links VII


All-things-typography, from a hard-edged monospaced variable font to fonts in the "Twilight Zone" ... and much, much more. The post Some Typography Links VII appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter

Some Typography Links


Glitter text — whO (I learned a name for people who go by a one-word moniker like that: Mononymous) created a builder for fancy SVG-based type. It’s a custom font with <text>, and the fancy comes in with a … The post Some Typography Links appeared first on CSS-Tricks. You...

How to Get a Pixel-Perfect, Linearly Scaled UI


Dynamically scaling CSS values based on the viewport width is hardly a new topic. You can find plenty of in-depth coverage right here on CSS-Tricks in articles like this one or this one. Most of those examples, though, use … The post How to Get a Pixel-Perfect, Linearly Scaled UI appeared...

The Dilemma of Naming Font Size Variables


Normally, a project will have a set of pre-determined font sizes, usually as variables named in such a way that seeks some semblance of order and consistency. Any project of considerable size can use something like that. There are always … The post The Dilemma of Naming Font Size Variables...

What does `font: 110%/1.4 system-ui` mean?


I use this line, or one like it, in a lot of quick demos. Not that it’s not a production-worthy line of code—I just tend to be a bit more explicit on bigger projects. html { font: 110%/1.4 system-ui; } … The post What does `font: 110%/1.4 system-ui` mean? appeared first...

CSS Hell


Collection of common CSS mistakes, and how to fix them From Stefánia Péter. Clever idea for a site! Some of them are little mind-twisters that could bite you, and some of them are honing in on best practices that … The post CSS Hell appeared first on CSS-Tricks. You can support CSS-Tricks...

Links on Typography


These are a few great links about typography that have been burning a hole in my saved bookmarks folder that I'm just now getting around to sharing. There's good stuff in there, from how to choose typefaces for app design to ideas for how to fix the concept of font sizing in CSS. The post Links...

16px or Larger Text Prevents iOS Form Zoom


This was a great “Today I Learned” for me from Josh W. Comeau. If the font-size of an <input> is 16px or larger, Safari on iOS will focus into the input normally. But as soon as the font-size is … The post 16px or Larger Text Prevents iOS Form Zoom appeared first...

The Making (and Potential Benefits) of a CSS Font


Not a typical one, at least. Each character is an HTML element, built with CSS. A true web font! Let me elaborate. This is a way to render text without using any font at all. Random text is split with … The post The Making (and Potential Benefits) of a CSS Font appeared first...

The Best Font Loading Strategies and How to Execute Them


Zach Leatherman wrote up a comprehensive list of font loading strategies that have been widely shared in the web development field. I took a look at this list before, but got so scared (and confused), that I decided not to … The post The Best Font Loading Strategies and How to Execute Them...

CSS Border Font


Every letter in this “font” by Davor Suljic is a single div and drawn only with border. That means employing some trickery like border-radius with exotic syntax like border-radius: 100% 100% 0 0 / 37.5% 37.5% 0 0; which … The post CSS Border Font appeared first...

Ensuring the correct vertical position of large text


Tobi Reif notes how the position of custom fonts set at very large font sizes can be super different, even in the same browser across operating systems. The solution? Well, you know how there are certain CSS properties that only … The post Ensuring the correct vertical position of large text...

Some Typography Blog Posts I’ve Bookmarked and Read Lately


Font-size: An Unexpectedly Complex CSS Property — From Manish Goregaokar in 2017. Of many oddities, I found the one where font: medium monospace renders at 13px where font: medium sans-serif renders at 16px particularly weird. The good line-height — Since … The post Some Typography Blog...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace