pt or px for specifying border-width for print

前端 未结 3 1403
感动是毒
感动是毒 2021-01-24 05:30

should i use pt or px when specifying border-width in css for media print?

i basically just want hairlines

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-24 05:51

    For print you should use pt, as it's an absolute unit not based on the resolution of the media.

提交回复
热议问题