# CSS — Daine Mawer

> Custom properties, positioning, Baseline and interoperability.

5 articles filed under CSS.

## Articles

- [CSS text-box-trim Finally Fixes Vertical Text Centering](https://www.dainemawer.com/css-text-box-trim-vertical-centering.md):
  Published 2026-10-02. 5 min read. Two small properties trim the invisible space your font adds above and below text, so buttons, tags, and badges align the way the padding math always promised.
- [Using CSS's New if() Function Without Breaking Safari and Firefox](https://www.dainemawer.com/css-if-function-safely.md):
  Published 2026-09-18. 5 min read. One inline conditional to replace three separate at-rules, once the rest of the web catches up.
- [CSS Can Finally Replace Your Tooltip and Dropdown Libraries](https://www.dainemawer.com/css-anchor-positioning-customizable-select.md):
  Published 2026-09-16. 5 min read. Anchor positioning and customizable selects both have real browser support now. Here's what to drop, what to keep, and where the gaps still bite.
- [Using CSS Custom Properties with Fallbacks for Efficiency](https://www.dainemawer.com/css-custom-properties-fallbacks.md):
  Published 2024-05-06. 3 min read. Less boilerplate, fewer surprises.
- [What Is Google Baseline and Why Does It Matter?](https://www.dainemawer.com/what-is-google-baseline.md):
  Published 2024-04-28. 3 min read. Interoperability across browser vendors, explained.

---

Canonical HTML: https://www.dainemawer.com/topics/css
Markdown index: https://www.dainemawer.com/index.md · Agent guide: https://www.dainemawer.com/agents.md · [llms.txt](https://www.dainemawer.com/llms.txt)
Attribution: Daine Mawer — https://www.dainemawer.com/about