【问题标题】:Box Shadow is not working inside Angular MaterialBox Shadow 在 Angular Material 中不起作用
【发布时间】:2023-01-19 19:17:05
【问题描述】:

enter image description here

.sheet-page{
    background: grey;
    padding : 140px 100px;
    position: relative;
    justify-content: center;
    
    .paragraph-page {
       min-height:897px;
       padding:44px 54px;
       background: white;
       box-shadow:1px 1px 5px 1px #cccccc !important;
       }
   }

盒子阴影在垫子内不起作用!! 附上html文件

【问题讨论】:

  • 请修复问题的格式,因为现在的方式无法理解

标签: html css angular sass angular-material


【解决方案1】:

您需要在 CSS 中添加 display: inline;。然后它会工作。

【讨论】:

    猜你喜欢
    • 2011-11-08
    • 1970-01-01
    • 2018-05-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-23
    相关资源
    最近更新 更多