Spring Roo CSS 定制
我是 Java 和 Spring 的新手,但 Spring Roo 在我看来非常直观,除了 css background:url ()
属性。 这就是我今天来这里的原因,想问是否有人知道在 css 文件中包含图像 url 的方法(如果 Spring Roo 允许的话)?
感谢您抽出时间。
I'm a newbie in Java and Spring, but Spring Roo seemed to me pretty intuitive, except for the css background:url ()
property.
That's why I'm here today, to ask if anyone knows a way of including images' url in css file (If Spring Roo permit it)?
Thanks for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
是的,这会起作用。最终,您在浏览器中看到的每个主页都只是 HTML、Javascript 和 CSS。
只是它的生成方式不同可能会有很大不同。
自己尝试一下,将 body 标记中的以下行添加到
standard.css
(您可以在resources/styles/
文件夹中找到该文件)Yeah this will work. In the end every homepage you see in the browser is just HTML, Javascript and CSS.
Just the way it is generated differ may differ wildly.
Try it yourself by adding the following line in the body-tag to
standard.css
which you find in the folderresources/styles/