ReinerLau1 / Blog

Just a blog
MIT License
0 stars 0 forks source link

画一条 0.5px 的线 #265

Closed ReinerLau1 closed 2 years ago

ReinerLau1 commented 2 years ago

实现一

采用 transform: scale()的方式

transform: scale(0.5,0.5);
ReinerLau1 commented 2 years ago

实现二

<meta name="viewport" content="width=device-width, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5"/>