HTML: Sub-pixel border

后端 未结 12 999
天涯浪人
天涯浪人 2020-12-11 02:42

Is it possible to have a border that is thinner than 1px and works in IE6+ and is not an image and renders properly visually?

Thank you.

12条回答
  •  隐瞒了意图╮
    2020-12-11 03:31

    No. You can't show a size smaller than one pixel because pixels are the basic unit of the monitor. And anyway, no browser I know of allows you to specify sub-pixel widths. They just get rounded up to 1px or down to 0px.

提交回复
热议问题