sel*_*lim 1 css sass ionic-framework ionic4
我有一个 Ionic 4 应用程序,我想要一个透明的内容。
这不起作用,并且内容始终为白色。我也将其添加到 css 中:
ion-content{
--ion-background-color: transparent;
}
Run Code Online (Sandbox Code Playgroud)
离子内容背景设置为--backgroundscss 变量
https://ionicframework.com/docs/api/content
ion-content { --background: transparent;}
| 归档时间: |
|
| 查看次数: |
3214 次 |
| 最近记录: |