Answers for "flask how to connect html file with css"

8

how to render css in flask link

<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/mainpage.css') }}">
Posted by: Guest on September-29-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 "flask how to connect html file with css"

Python Answers by Framework

Browse Popular Code Answers by Language