X 归档 2020-02-18
This is visual proof that the exterior angles of the side of a polygon always add up to 360 degrees.
这是“多边形外角之和恒为 360 度”的直观视觉证明。
`font-variant-numeric: tabular-nums` is one of my favorite CSS properties. It sets numbers as monospace, so they're prettily aligned in tables.
Another use case I came across is this little character counter. Notice how much smoother it becomes with tabular nums.
Another use case I came across is this little character counter. Notice how much smoother it becomes with tabular nums.
`font-variant-numeric: tabular-nums` 是我最喜欢的 CSS 属性之一。它把数字设成等宽,让它们在表格里整齐对齐。
我遇到的另一个用例是这个小小的字符计数器。注意用上 tabular nums 之后它变得顺眼了多少。
我遇到的另一个用例是这个小小的字符计数器。注意用上 tabular nums 之后它变得顺眼了多少。

