我在Ionic 3背景高度面临问题 - 如果我设置height 100vh
这种情况发生:
如何设置背景高度以使所有背景(看到和滚动)都变为彩色 - 而不是白色?
身高100% - 也很糟糕。适用于较小的设备
在你的app.css中复制这个:
ion-content {
background-image: url("the url of your image background");
background-repeat: no-repeat;
background-size:cover;
}`