我试试
git commit -m "example of coding - close #1 close #2"
git push origin develop
Run Code Online (Sandbox Code Playgroud)
但它只关闭 #1 问题。如何关闭提交消息的两个或多个问题?
我使用 tailwindCSS 并遇到制作页脚的问题。
基本文件
<body>
{% include "partials/nav.html" %}
{% block content %}
{% endblock %}
{% include "partials/footer.html" %}
</body>
Run Code Online (Sandbox Code Playgroud)
页脚.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>
Run Code Online (Sandbox Code Playgroud)
我尝试了静态、绝对、固定、相对...但是 .fixed 覆盖了内容块,并且相对使页脚向上。或 .mb-0、.bottom-0 不起作用。
是否可以将页脚固定在底部?