Answers for "how to use css on a html in flask"

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
0

how to render css in flask

/app
    - app_runner.py
    /services
        - app.py 
    /templates
        - mainpage.html
    /static
        /styles
            - mainpage.css
Posted by: Guest on July-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language