【发布时间】:2018-04-03 05:32:03
【问题描述】:
我使用这个 css 代码在我的 ionic 应用程序中使用了一张图片作为背景
.contentcolor{
background-image: url('../../assets/Capture3.PNG');
background-repeat: no-repeat;
background-position: center;
background-size: full;
}
但是当我在模拟器或硬设备上运行我的应用程序时,图像不会出现。当我检查时,我发现了这个:
我该如何解决?
【问题讨论】:
标签: android cordova ionic-framework npm