Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

linking custom CSS in flask

{% block styles %}
{{super()}}
<link rel="stylesheet"
      href="{{url_for('.static', filename='mystyle.css')}}">
{% endblock %}
Source by pythonhosted.org #
 
PREVIOUS NEXT
Tagged: #linking #custom #CSS #flask
ADD COMMENT
Topic
Name
3+3 =