热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

改变模式背景的不透明度?-Ionic3-Changeopacityofmodalbackground?

AtthemomenttheopacityofanactiveIonicModalbackgroundis0.4,Iwouldliketochangeit.目前,

At the moment the opacity of an active Ionic Modal background is 0.4, I would like to change it.

目前,一个活跃的离子模态背景的不透明度为0.4,我想要改变它。

1 个解决方案

#1


2  

You can do it very easily using Sass variable below.

你可以很容易地在下面使用Sass变量。

variables.scss

variables.scss

$modal-inset-box-shadow-color: rgba(0, 0, 0, .4)

Note: Change 4th parameter(i.e. .4) as you wish

注意:根据需要更改第4个参数(即.4)

Here is the doc

这是医生

enter image description here


推荐阅读
author-avatar
ociVyouzhangzh063_1fd2bf_633
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有