Answers for "flask how to reference files in css"

5

flask link stylesheet

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

how to add css in flask app

<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/mainpage.css') }}">
Posted by: Guest on September-29-2020

Code answers related to "flask how to reference files in css"

Python Answers by Framework

Browse Popular Code Answers by Language