TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Working with SVGs for icons on the web

11 pointsby abiover 2 years ago

1 comment

xigoiover 2 years ago
On the topic of compression, I often see SVGs with way too many significant figures. Something like <path d="M1.571557 3.647362L7.818526 9.715314" />. If you round it to the first three, I guarantee no one will notice a thing.
评论 #33069815 未加载