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 将图像从顶部的 100% 淡化到底部的 0%。
这个想法是在其高度上创建图像的逐渐淡入淡出。
如果您不想在背景中使用透明 png,那么您可以使用此处提供的 jQuery 方式
我希望这个能帮上忙!