W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

Re: [csswg-drafts] [css-backgrounds] Add a 'hairline' border-width value (#3720)

From: 李松峰 via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Mar 2019 04:43:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-472702385-1552538638-sysbot+gh@w3.org>
I do think the supporting for fractional order `px` value, means 0.1~0.9px (may be even more precise than this), is more useful than we finally only have a new `hairline` key word value for `border-width` property.

As on mobile web, Android app can use `0.3dp` or `0.5dp` , and iOS app can use `0.3pt` or `0.5pt` to express the hairline line. For CSS, `px` just play the same role as `dp` on Android and `pt` on iOS.

I wish, one day, we can use `0.3px` or `0.5px` to match the exact border width with the mobile apps, so the users can see the same thick or thin lines on the their Apps.

GitHub Notification of comment by cncuckoo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3720#issuecomment-472702385 using your GitHub account
Received on Thursday, 14 March 2019 04:44:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:45 UTC