CSS masking gives you the option of using an image as a mask layer. This means that use can use an image, an SVG, or a gradient as your mask, to create interested effects without an image editor.
Matthias Ott is an independent user experience designer and developer from Stuttgart, Germany. Besides design practice he teaches Interface Prototyping at the Muthesius Academy of Fine Arts and Design, Kiel.
The line-clamp property is a way to truncate text at a specific number of lines. At time of writing the spec is currently in Editor's Draft which means it could change before it's first published.
What Happens When Border Radii Overlap? | CSS-Tricks
I’d wager that most times we’re rounding box corners in CSS, we’re applying a uniform border-radius value across the border. It’s a nice touch of polish
Do you know the feeling when a subject never lets you go? In the last years, I
have worked with different graphics programs and have written many lines of CSS.
Even though it is now easy to copy CSS code for gradients directly from e.g.
Figma, I always had the feeling that gradients in graphics programs behave
somewhat differently than gradients created with CSS. Especially the angle of a
gradient sometimes seemed more like a random product to me. In the end, copying
the CSS code often leads to
More Control Over CSS Borders With background-image | CSS-Tricks
You can make a typical CSS border dashed or dotted. For example: .box { border: 1px dashed black; border: 3px dotted red; } You don't have all that much
content-visibility: the new CSS property that boosts your rendering performance
The CSS content-visibility property enables web content rendering performance benefits by skipping rendering of off-screen content. This article shows you how to leverage this new CSS property for faster initial load times, using the auto keyword. You will also learn about the CSS Containment Spec and other values for content-visibility that give you more control over how your content renders in the browser.
Back in May, I learned about Firefox adding masonry to CSS grid. Masonry layouts are something I've been wanting to do on my own from scratch for a very