当前位置:网站首页>解决:Function rgb is missing argument $green. 的问题
解决:Function rgb is missing argument $green. 的问题
2022-07-17 15:21:00 【狮子座的男孩】
1、报错分析:
其一、报错的代码及信息为:
A、报错的代码:
Function rgb is missing argument $green.
B、报错的信息展示为:

其二、报错的问题分析:
A、找到报错的代码为:
box-shadow: 1px 1px 1px 1px rgba(0 0 0 / 10%);
B、报错代码行的截图:

2、解决过程:
其一、就是 rgba 的问题,搜了一下,换一种表达方式(即:中间加了逗号):box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 10%);
其二、此时就不再报错,页面展示效果为:
其三、此时就将报错的问题解决了;
3、问题探讨:
其一、上面的方法应该是解决该问题的最快的方法;
其二、应该还有其它方法:
A、因为存在确实使用了这样的代码在这里插入代码片box-shadow:0 1px 0 rgb(0 0 0 / 10%);,而且还生效了,如图:

B、代码为:
<div style="height:284px;background:#fff;box-shadow:0 1px 0 rgb(0 0 0 / 10%);border-radius:6px;"></div>
其三、有无其它方法或怎么理解或使用这样的语法box-shadow:0 1px 0 rgb(0 0 0 / 10%); ,还请大佬们多多指教;
4、小结:
其一、哪里有不对或不合适的地方,还请大佬们多多指点和交流!
其二、有兴趣的话,可以多多关注这个专栏(Vue(Vue2+Vue3)面试必备专栏):https://blog.csdn.net/weixin_43405300/category_11525646.html?spm=1001.2014.3001.5482
边栏推荐
- 03-2、
- Learning note 3 -- basic idea of machine learning in planning control
- 夢想CMS 前臺搜索SQL注入
- Stc8h development (XIV): I2C drive rx8025t high-precision real-time clock chip
- Push down calculation result cache
- 565. 数组嵌套 : 常规模拟题
- What happened to cinder in openstack-m
- 项目建设,谋事在人,成事亦在人!
- NAT technology and NAT alg
- Choice is more important than effort
猜你喜欢

MapGIS IGServer九州-驾驭国产化环境下的拓展服务开发

QT -- excellent open source project

Robot development -- common simulation software tools

Why does the magnetic variable speed gear reverse?
![[binomial tree] the power of the button cattle customers must brush questions](/img/c0/254c28c5d94635e817fa6ba0b8483a.png)
[binomial tree] the power of the button cattle customers must brush questions

LeetCode_77_组合

03-1、内联函数、auto关键字、typeid、nullptr

任天堂专利显示健身环配件后续产品或已在开发中

TCP拥塞控制详解 | 7. 超越TCP
![[PostgreSQL] PostgreSQL 15 optimizes distinct](/img/7c/89d05171902dd88bd2b5c352c3614f.png)
[PostgreSQL] PostgreSQL 15 optimizes distinct
随机推荐
LeetCode_77_组合
mysql show processlist 详解
Leetcode 1310. 子数组异或查询
Two misunderstandings of digital transformation
03-2、
学习笔记3--规划控制中的机器学习基本思想
The underlying principle of file operation (inode and hard and soft links, time attributes of files)
STM32F407 NVIC
公网连接MySQL实例的解决方案
梦想CMS 前台搜索SQL注入
Region performance tuning
How to build dashboard and knowledge base in double chain note taking software? Take the embedded widget library notionpet as an example
Hello JSON Schema
Leetcode 1310. Subarray XOR query
TCP congestion control details | 7 Surpass TCP
『牛客|每日一题』有效括号序列
Resources for physics based simulation in computer graphics
03-2、
项目建设,谋事在人,成事亦在人!
TiKV 线程池性能调优