Home/Preethi
Author
PPreethi

Preethi

31 articles by Preethi.

Frontend — The Frankenstein Table

The Frankenstein Table

A super scary way to go about tables using other layout techniques, like CSS Grid. The Frankenstein Table originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

PPreethiPreethi·October 29, 2026Frontend
Frontend — Animating CSS border-image

Animating CSS border-image

Border images are an overlooked feature. One neat fact is that border image slices can run across entire borders on an element, and animating it creates beautiful effects. Animating CSS border-image originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

PPreethiPreethi·August 10, 2026Frontend
Frontend — Revealing Text With CSS letter-spacing

Revealing Text With CSS letter-spacing

Until we get something like ::nth-letter, there are still some really cool text effects we can make from existing CSS features, like letter-spacing, ::first-word and ::first-line.

PPreethiPreethi·May 27, 2026Frontend
Frontend — Selecting a Date Range in CSS

Selecting a Date Range in CSS

A clever approach for selecting multiple dates on a calendar where the :nth-child()'s “n of selector” syntax does all the heavy lifting... even in the JavaScript.

PPreethiPreethi·April 9, 2026Frontend
Frontend — CSS Bar Charts Using Modern Functions

CSS Bar Charts Using Modern Functions

CSS-only bar charts are one of those things we've tackled a bunch of times in different ways. But how can modern CSS features finally make it not only trivial, but fun?

PPreethiPreethi·February 5, 2026Frontend
Frontend — Creating an Auto-Closing Notification With an HTML Popover

Creating an Auto-Closing Notification With an HTML Popover

The HTML popover attribute transforms elements into top-layer elements that can be opened and closed with a button or JavaScript. Popovers can be dismissed a number of ways, but there is no option to auto-close them. Preethi has a technique you can use.

PPreethiPreethi·June 9, 2025Frontend
Frontend — Using CSS backdrop-filter for UI Effects

Using CSS backdrop-filter for UI Effects

Tips and tricks on utilizing the CSS backdrop-filter property to style user interfaces. You’ll learn how to layer backdrop filters among multiple elements, and integrate them with other CSS graphical effects to create elaborate designs.

PPreethiPreethi·April 16, 2025Frontend
Frontend — Positioning Text Around Elements With CSS Offset

Positioning Text Around Elements With CSS Offset

When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position property with corresponding inset-* properties, translate, margin, anchor() (limited browser support at the moment), and so forth. The offset property is another one that belongs in that list.

PPreethiPreethi·January 24, 2025Frontend
Frontend — A Serene CSS Dappled Light Effect

A Serene CSS Dappled Light Effect

We can create a life-like dappled light effect In CSS, adding a magic touch to what might otherwise be drab walls of content to bring them back to life.

PPreethiPreethi·January 19, 2022Frontend
Engineering — Fun Times Styling Checkbox States

Fun Times Styling Checkbox States

We might leave a text input unstyled. We might leave a link unstyled. Even a button. But checkboxes… we don’t leave them alone. That’s why styling checkboxes

PPreethiPreethi·September 10, 2021Engineering
Frontend — Creating CSS Shapes with Emoji

Creating CSS Shapes with Emoji

CSS Shapes is a standard that lets us create geometric shapes over floated elements that cause the inline contents — usually text — around those elements to

PPreethiPreethi·October 23, 2020Frontend
Frontend — Menu Reveal By Page Rotate Animation

Menu Reveal By Page Rotate Animation

There are many different approaches to menus on websites. Some menus are persistent, always in view and display all the options. Other menus are hidden by

PPreethiPreethi·September 8, 2020Frontend