Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Roma Komarov
@kizu@front-end.social  ·  activity timestamp 2 weeks ago

New blog post: “Fixing Baselines”.

https://blog.kizu.dev/fixing-baselines/

Do you know how to center things in CSS? In year 2025? Easy! You just… align… or justify…, ok, maybe just place? your content… or items? …Forget it, this post is not about alignment. Or is it?

This post is about another common alignment concept that might seem simple: baseline alignment. In it, I share a technique I have already used for twelve years.

#CSS #Typography

  • Copy link
  • Flag this post
  • Block
Roma Komarov
@kizu@front-end.social replied  ·  activity timestamp 2 weeks ago

Mentioned in the post: @crackofdusk, who wrote about a solution similar to my technique in 2022.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login