Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该在我的网站中使用 png-8 还是 png-24?大多数网站仍然使用 png-8 还是浏览器支持足够好,我可以安全地使用 png-24?我有一些 jquery 滑块,我不知道这是否有任何区别。
浏览器支持足够好,您可以使用 PNG-24。IE6 甚至支持 PNG-24。
但是,如果您将图像用于滑块,您可能需要透明度,并且每个现代浏览器也都支持 PNG-32。IE6 可以显示它们,尽管没有适当的透明度(除非您使用 hack。)