Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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