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.
我已经使用 更改了 jQuery Datapicker 的大小font-size,但是我的 jQuery-UI 图标(上一个/下一个)仍然是它们的原始大小(尽管当我看到它们时,div 的大小真的很大)。如何使图标适合数据选择器的新大小?
font-size
下一个和上一个图标是作为 sprite 一部分显示的背景图像:
.ui-icon, .ui-state-focus .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
您需要获得更大的精灵集或创建自己的下一个/上一个图标并覆盖 ui-icon 的背景属性。