Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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.
Source by pythonhow.com #
 
PREVIOUS NEXT
Tagged: #add #stylesheet #flask #app
ADD COMMENT
Topic
Name
5+1 =