我只想在页眉的底部添加一个边框图像。它可以在Chrome上运行,但不能在Safari上运行。
代码如下:
.header {
border-bottom: 3px solid;
border-image: url(https://static1.squarespace.com/static/5ec57b9825bdfa44638daa1e/t/5ed57287a22a3463f755e9da/1591046791198/LTI-website-header-border-03.png);
border-image-width: 100%;
border-image-repeat:stretch;
border-top:none !important;
border-left: none !important;
border-right: none !important;
}发布于 2020-06-26 04:07:37
尝试在你的风格中添加-webkit。
border-style: solid;
border-width: 0px 0px 3px 0px;
-webkit-border-image: url('...../test.png') 0 0 0 0 stretch stretch;https://stackoverflow.com/questions/62583333
复制相似问题