Vaadin瓦洛背景图像 [英] Vaadin valo background image
本文介绍了Vaadin瓦洛背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
mytheme.scss文件:
mytheme.scss file:
@import "../valo/valo.scss";
@mixin mytheme {
@include valo;
background-image: url("img/light-background.jpg");
}
我的图片在... VAADIN/themes/mytheme/img/light-background.jpg
my image is in ...VAADIN/themes/mytheme/img/light-background.jpg
哪里没有编译/运行错误,为什么图像没有显示为背景?
where is no compiling/running errors, why image isn't displayed as a background?
推荐答案
编辑:保留,直到提供其他详细信息.
On hold until additional details are provided.
<罢工> 尝试将其设置为用户界面生成的div的背景图片:
Try setting it as the background image for your UI's generated div:
@mixin mytheme {
@include valo;
.v-ui {
background-image: url("img/light-background.jpg");
}
}
这篇关于Vaadin瓦洛背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文