![Designing for Long-Form Articles](https://www.cdn5.niftycent.com/d/1/R/E/G/j/Y/designing-for-long-form-articles.webp)
Designing a beautiful “article” is wrought with tons of considerations. Unlike, say, a homepage, a long-form article is less about designing an interface than it is designing text in a way that creates a relaxed and comfortable reading experience.
That’s …
Designing for Long-Form Articles originally published on CSS-Tricks,
![Committing CSS Crimes](https://www.cdn5.niftycent.com/d/k/W/j/Q/B/9/committing-css-crimes.webp)
The time for CSS-Tricks is over. Now is the time for CSS Crimes!
In this current landscape of content service providers, users are often limited to expressing themselves in text, links, and images. Sanitization rules tend to strip out HTML, …
Committing CSS Crimes originally published on CSS-Tricks, which is part of the
![Zooming Images in a Grid Layout](https://www.cdn5.niftycent.com/d/1/q/y/B/J/V/zooming-images-in-a-grid-layout.webp)
Creating a grid of images is easy, thanks to CSS Grid. But making the grid do fancy things after the images have been placed can be tricky to pull off.
Say you want to add some fancy hover effect to …
Zooming Images in a Grid Layout originally published on CSS-Tricks, which is part of the
![How I Added Scroll Snapping To My Twitter Timeline](https://www.cdn5.niftycent.com/d/e/j/x/n/l/m/how-i-added-scroll-snapping-to-my-twitter-timeline.webp)
CSS Scroll Snap allows websites to snap the web page or any other scroll container to a specific scroll position when the user performs a scrolling operation. This feature has been supported in all modern browsers for over two years, …
![Actually, the San Francisco Typeface Does Ship as a Variable Font](https://www.cdn5.niftycent.com/d/D/Z/0/Q/O/b/actually-the-san-francisco-typeface-does-ship-as-a-variable-font.webp)
Apple unveiled an expanded version of its San Francisco system font at WWDC 2022. Then, last month, Jim Nielsen zeroed in on the font’s variations, explaining how the font provides a spectrum of variations based on the width and weight…
![Converting Speech to PDF with NextJS and ExpressJS](https://www.cdn5.niftycent.com/d/e/b/R/m/z/0/converting-speech-to-pdf-with-nextjs-and-expressjs.webp)
With speech interfaces becoming more of a thing, it’s worth exploring some of the things we can do with speech interactions. Like, what if we could say something and have that transcribed and pumped out as a downloadable PDF?
Well, …
Converting Speech to PDF with NextJS and ExpressJS originally published on CS
![Implicit Grids, Repeatable Layout Patterns, and Danglers](https://www.cdn5.niftycent.com/d/k/l/j/V/J/z/implicit-grids-repeatable-layout-patterns-and-danglers.webp)
Dave Rupert with some modern CSS magic that tackles one of those classic conundrums: what happens when the CSS for component is unable to handle the content we throw at it?
The specific situation is when a layout grid expects …
![Exploring CSS Grid’s Implicit Grid and Auto-Placement Powers](https://www.cdn5.niftycent.com/d/k/M/y/d/4/4/exploring-css-grid-s-implicit-grid-and-auto-placement-powers.webp)
When working with CSS Grid, the first thing to do is to set display: grid
on the element that we want to be become a grid container. Then we explicitly define the grid using a combination of grid-template-columns
, grid-template-rows
…
![Scroll Shadows? Pure CSS Parallax? Game Back On.](https://www.cdn5.niftycent.com/d/e/b/R/X/L/p/scroll-shadows-pure-css-parallax-game-back-on.webp)
Chris calls scroll shadows one his favorite CSS-Tricks of all time. Lea Verou popularized the pure CSS approach using four layered background gradients with some clever background-attachment
magic. The result is a slick scrolling interaction that gives users a hint …
![Recreating MDN’s Truncated Text Effect](https://www.cdn5.niftycent.com/d/1/x/2/a/8/N/recreating-mdn-s-truncated-text-effect.webp)
It’s no secret that MDN rolled out a new design back in March. It’s gorgeous! And there are some sweet CSS-y gems in it that are fun to look at. One of those gems is how card components handle truncated …
Recreating MDN’s Truncated Text Effect originally published on