Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
9+5 =