遇到一个简单的问题。我有一些锚点标签,它们是指向外部网站的链接,位于一个12列网格的p元素下面。我在它们上面使用了col-4样式,文本保持在容器内,但锚点文本没有换行。p元素和其文本保持在col-4内,但锚点文本溢出了。请帮忙解决。
HTML
<div class="grouped-content__selection">
<div class="col4">
<h3>Go Kart Sorihuela Costa</h3>
<p>Hello <br>Website: <a href="google.co.uk">This line of text goes over</a></p>
</div>
</div>
CSS
.grouped-content__selection {
border-top: 2px solid #184450;
padding: 2rem 1rem 1rem 1rem;
overflow: hidden;
height: 100%;}