Answers for "how to link style sheets css to html while using flask"

5

flask link stylesheet

<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
Posted by: Guest on July-21-2020
0

linking custom CSS in flask

{% block styles %}
{{super()}}
<link rel="stylesheet"
      href="{{url_for('.static', filename='mystyle.css')}}">
{% endblock %}
Posted by: Guest on June-05-2021

Code answers related to "how to link style sheets css to html while using flask"

Python Answers by Framework

Browse Popular Code Answers by Language