qunxiadexiaoxiangjiao

 

[footer.html]
<footer>
    这是底部
</footer>
[header.html]
<style>
    .nav ul{
        overflow: hidden;
    }
    .nav ul li{
        float:left;
        margin:0 20px;
    }
</style>
<nav class=\'nav\'>
    <ul>
        <li>首页</li>
        <li>课程详情</li>
        <li>视频教程</li>
        <li>关于我们</li>
    </ul>

</nav>

 

[index.html]
<body>
{% include "common/header.html" %}
<div class="content">
 中间的
</div>
{% include "common/footer.html" %}

</body>

[.py]
@app.route(\'/\')
def hello_world():
    return render_template(\'index.html\')

分类:

技术点:

相关文章:

  • 2022-01-23
  • 2021-09-21
  • 2022-12-23
  • 2022-01-07
  • 2022-02-15
  • 2021-12-09
  • 2022-02-25
猜你喜欢
  • 2021-12-27
  • 2022-01-06
  • 2022-01-20
相关资源
相似解决方案