# 有没有办法用CSS更换图片/图标？

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692>\
**Category:** Development\
**Created:** [2024年八月28日 00:13 UTC](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692 "2024-08-28T00:13:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年八月28日 03:41 UTC](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692/2 "2024-08-28T03:41:41Z")

</div>

我认为[这个主题](https://meta.discourse.org/t/central-theme-header-user-icons/291526/4#step-3-add-the-widget-onto-the-header-replace-existing-user-icon-with-notification-bell-icon-3)解释了如何做到这一点。但我不知道它是否仍然是这样工作的。

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692)._
