Answers for "can i use a styles.css in flask"

CSS
10

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
5

flask link stylesheet

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

how to add a stylesheet to flask app

<link rel="stylesheet" type='text/css" href="{{ url_for('static', filename='main.css') }}">
Make sure that the css is in the 'static' file you should have created
inside the root directory of the project.
Posted by: Guest on October-27-2021

Browse Popular Code Answers by Language