【发布时间】:2021-05-10 13:17:25
【问题描述】:
我对 Safari 浏览器上的一些文本有疑问。我不知道为什么在 safari 浏览器上剪切文本,尽管在 windows 上的其他浏览器上一切都很好。我没用mac,不知道safari有什么不同?
SCSS 代码:
.serv-list {
background-color: #6947d2;
display: flex;
padding: 50px 6vw;
flex-direction: column;
.serv-box {
display: flex;
align-items: center;
max-width: 992px;
margin: 0px;
height: max-content;
}
h2 {
font-family: "CocoGhoticBold";
color: $RED_COLOR;
font-size: 55px;
}
p {
font-family: "Gotham";
color: $WHITE_COLOR;
font-size: 25px;
}
.right-box {
text-align: right;
align-self: flex-end;
}
}
HTML 代码:
<div class="serv-box right-box">
<div>
<h2>Script Writting</h2>
<p>
Bumping our heads together to make the perfect script for your ads /
corporate videos and documentaries.
</p>
</div>
<img src="assests/icons/Script.png" alt="" />
</div>
【问题讨论】: