在移动设备的滑块中缩放图像

发布于 2024-09-29 06:53:20 字数 327 浏览 0 评论 0原文

我目前正在开发我的网站的移动版本。我在整个网站中使用 NivoSlider ,不幸的是它似乎无法针对移动设备进行扩展。我的样式表中有一个特定于移动设备的部分,并尝试使用“宽度:50%”和“最大宽度:480px”。它们似乎缩小了滑块的区域,但没有缩小实际图像本身。任何想法或额外的帮助都会很棒。该网站目前处于暂存环境中:http://www.staging.andrewpautler.com

I am currently working on the mobile version of my website. I use the NivoSlider throughout the site and unfortunately it doesn't seem to scale for mobile devices. I have a mobile specific section of my stylesheet and have tried using "width: 50%" and "max-width: 480px." They seem to shrink the area of the slider, but not the actual images themselves. Any thoughts or additional help would be great. The site is currently in the staging environment at http://www.staging.andrewpautler.com.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不一样的天空 2024-10-06 06:53:20

Sitepoint 有一篇关于该 这里

Sitepoint has a get article on that here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文