Advertisement ยท 728 ร— 90

Posts by Bernd de Ridder

Last year I added this to the CSS Day whiteboard. Will add it again this year ๐Ÿ˜ƒ

1 week ago 2 0 0 0
Preview
font-synthesis - CSS | MDN The font-synthesis shorthand CSS property lets you specify whether or not the browser may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces when they are missing in t...

I recently found the CSS property font-synthesis. Setting this to none will prevent the browser from synthesizing bold and italic styles. I think this should be default behavior and can recommend adding font-synthesis: none; to your CSS reset #CSS

1 month ago 2 0 0 0
My JND score 0.0039

My JND score 0.0039

That was fun!

1 month ago 1 0 0 0

Great article! I've used this technique and a small downside with the before pseudo element is that it blocks text selection.

3 months ago 2 0 0 0

Great news!

4 months ago 0 0 0 0

I noticed anchor positioning doesn't work on a translated element? Are transforms ignored?

5 months ago 1 0 1 0
Preview
anchor-scope | CSS-Tricks The anchor-scope is a property included in the CSS Anchor Positioning module that scopes an "anchor" element to a particular selector, preventing it from

You can solve this with anchor-scope
css-tricks.com/almanac/prop...

5 months ago 6 1 2 0
Preview
HTMLImageElement: sizes property - Web APIs | MDN The HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images...

sizes="auto" on images developer.mozilla.org/en-US/docs/W...

10 months ago 1 0 0 0
Advertisement