通過JavaScript 檢測瀏覽器能否處理0.5px的邊框,如果可以,給 <html> 元素添加個 class 。 if (window.devicePixelRatio && devicePixelRatio >= 2) { ...
確定! 回上一頁