我使用了Tailwind CSS,并且遇到了一个关于生成页脚的问题.
base.html个
<body>
{% include "partials/nav.html" %}
{% block content %}
{% endblock %}
{% include "partials/footer.html" %}
</body>
footer.html
<footer class="w-full h-64 bg-gray-900 static bottom-0">
{% load static %}
<img src="{% static "images/logo_white.png" %}" width="70px"> <p class="text-white"> ©~~~~~~</p>
</footer>
我试过静电,绝对的,固定的,相对的.但是.修复了挡路和相关内容的封面使页脚上浮.或者.mb-0、.Bottom-0不起作用.
可以在底部固定脚注吗?