Home > Article > Web Front-end > Setting and canceling css shadow
I have been using the mui layout style before, but this will cause a problem, shadow.
So how do we cancel the shadow?
Set shadow
/* 长 宽 模糊度 颜色*/ box-shadow: 0 1px 6px #ccc;
If you cancel, just set it to 0. It is not recommended to delete it directly in mui.css. If you change it in mui All styles will change
Cancel the shadow
/* 长 宽 模糊度 颜色*/ box-shadow: 0 0px 0px #ccc;
After setting, there will be no shadow
Here are some introductions to box-shadow
/*长度 宽度 模糊度 阴影大小 颜色*/ box-shadow: 0px -10px 0px 0px #ff0000, /*上边阴影 红色*/ -10px 0px 0px 0px #3bee17, /*左边阴影 绿色*/ 10px 0px 0px 0px #2279ee, /*右边阴影 蓝色*/ 0px 10px 0px 0px #eede15; /*下边阴影 黄色*/
Related recommendations: CSS tutorial
The above is the detailed content of Setting and canceling css shadow. For more information, please follow other related articles on the PHP Chinese website!