Safari手机完全不显示P元素

问题描述

         div{
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            bottom: 10px;

            p{
                font-size: 13px;
                color: black;
                font-family: sans-serif;
                padding-top: 20px;
                position: relative;
                &:before{
                 content: '';
                 background-image: url('/arquivos/modal-phone.png');
                 background-position: center;
                 background-size: cover;
                 position: absolute;
                 bottom: 30px;
                 width: 36px;
                 height: 36px;
                 right: 50%;
                 transform: translateX(50%);
                 -webkit-transform:translateX(50%) ;
                }
                
              }
        }

显示了before元素,但没有完全显示text元素。我不知道是否有css行阻碍了文本的显示

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)