Flask温度未加载本地CSS

2024-09-25 08:35:53 发布

您现在位置:Python中文网/ 问答频道 /正文

嘿,我试图输入自定义css到我的烧瓶应用程序。我能够加载引导很好,但当谈到我的本地css我有吹捧

下面是我加载css的方式:

    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
    <link ref="stylesheet" href="{{ url_for('static',filename='styles/main_design.css') }}">


Tags: httpscomref应用程序烧瓶方式linkbootstrap