Thursday, January 21, 2021

on the naming of shapes

Minor argument at work, we were thinking of a new property "shape" for buttons, with values corresponding to the first 4 items listed here. Personally I strongly disliked "oval" to mean "rectangular but with half circles for the sides" since in geometry, that's not what an oval is...

Some of my coworkers didn't like "capsule" or "pill" (maybe because it means something else in other systems, like where a "pill" is a type of "tag".) Stadium and Obrund are pretty correctly but not widely understood.

I made a CSS webpage , shown above, to make the discussion more clear. Turns out you can get true ovals with something like `border-radius: 100px / 40px`...

No comments:

Post a Comment