【发布时间】:2021-09-29 04:08:41
【问题描述】:
我想将这个向上箭头的圆圈图标添加到我的页脚,但是当我添加它时我看不到它,这是我的 html 代码:
<html>
<head>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
</head>
<body>
<!-- Footer -->
<footer class="p-5 bg-dark text-white text-center position-relative">
<div class="container">
<p class="lead">Copyright © 2021 GhDesign isLazy</p>
<a href="#" class="position-absolute bottom-0 end-0 p-5">
<i class="bi bi-arrow-up-circle "></i>
</a>
</div>
</footer>
</body>
</html>
【问题讨论】:
-
添加正确的库:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">.
标签: html css bootstrap-4 bootstrap-5