<a> 带有类型按钮和 btn-primary class 的标签在 MacOS safari 中不工作
<a> tag with type button and btn-primary class is not working in MacOS safari
具有按钮类型和 btn-primary class 的锚标记在 MacOS safari 中不起作用,但相同的代码在 chrome 和边缘浏览器中工作正常
<a class="btn btn-primary " style="border-radius: 25px;" type="button" href="#" <i class="fa fa-download" aria-hidden="true"></i>> Download Client</a>
MACOS safari 浏览器
chrome 浏览器
请建议我使用 bootstrap
实现标签的正确方法
删除 type="button"
它应该可以工作。
<a class="btn btn-primary" style="border-radius: 25px;" href="#">
<i class="fa fa-download" aria-hidden="true"></i> Download Client
</a>
编码愉快!
具有按钮类型和 btn-primary class 的锚标记在 MacOS safari 中不起作用,但相同的代码在 chrome 和边缘浏览器中工作正常
<a class="btn btn-primary " style="border-radius: 25px;" type="button" href="#" <i class="fa fa-download" aria-hidden="true"></i>> Download Client</a>
MACOS safari 浏览器
chrome 浏览器
请建议我使用 bootstrap
实现标签的正确方法删除 type="button"
它应该可以工作。
<a class="btn btn-primary" style="border-radius: 25px;" href="#">
<i class="fa fa-download" aria-hidden="true"></i> Download Client
</a>
编码愉快!