如何将psd中的灯光效果转换为xhtml?

发布于 2024-12-06 11:36:23 字数 345 浏览 1 评论 0原文

我有一个 psd,现在正在将其转换为 xhtml。设计很棒,编码也很有趣,但 PSD 充满了灯光效果图层。 页面中的每个元素(页眉、页脚、内容、按钮和菜单)至少有 2 种灯光效果,基本上是具有叠加模式的白色画笔点。

我尝试通过在单独的图像中获取每个灯光效果并将它们作为多个开发人员的背景并将它们放置在应该的位置来做到这一点,但代码变得越来越复杂,这是我不喜欢的,并且图像开始对页面加载产生巨大影响。

我试图将所有效果放在一张非常大的图像中,并将其放置在整个页面上一次,因为设计是固定宽度的。为此感谢上帝。但同样,图像很大,有些元素并不总是存在于页面中以产生照明效果。

我真的不知道还能对它们做什么。请帮助。

谢谢

i have a psd that i am converting now to xhtml. the design is great and the coding is fun but the psd is full of lighting effects layers.
each element in the page (header,footer,content,buttons and menus) has at least 2 lighting effects which is basically a white brush spot with overlay mode.

i tried to do it by getting each light effect in a separate image and make them backgrounds for multiple Devs and position them where it should be but the code is getting complex which i don't like and images starts to be huge effect on page load.

i tried to get all the effects in one very big image and position it once on the whole page because the design is fixed width. thank God for that. but again the image is huge and some elements are not always there in the page to have its lighting effect.

i really don't know what else to do with them. help plz.

thanks

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

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

发布评论

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

评论(1

叹沉浮 2024-12-13 11:36:23

尝试将照明效果平坦化到其突出显示的图像上。这样就只有一张图像,听起来您已经找到了该图像的位置。

Try to flatten the lighting effect onto the image that it's highlighting. That way it's only one image, which it sounds like you already have the position for.

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