gpt4 book ai didi

html - 新行上的 Href

转载 作者:太空宇宙 更新时间:2023-11-03 20:45:10 25 4
gpt4 key购买 nike

我有以下内容

<div class="venue-description">
<h4>Description</h4>
Nandi Hills are currently undergoing a multi-crore development, including a one crore renovation of the Tipu Fort, via private-public partnership to transform the hills into a tourist hub. The Department of Horticulture is setting up a food court modeled after one in Singapore at a cost of nearly one crore at the hill station.Various varieties of vegetarian and continental food, beverages, bakery products, ice-creams and fresh fruit juices will be available.
<a href="" class="more">view more</a>
</div>

我想移动 a tag换行。使用 display: block将创建不利于可用性的全宽链接。

我不想使用 <br/>标签

最佳答案

DEMO

a::before {
content:'';
display:block;
}

关于html - 新行上的 Href,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21883783/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com