Hello i have one code but don't know how to connect css in flask.
<link rel="stylesheet" href="css/styles.css">
But its not working. Is there any difference Syntex in flask?
Asked
Active
Viewed 72 times
0

Mohammad Zubair
- 11
- 2
1 Answers
1
make one folder as 'static' and make one more folder for css files so that you can put css file in that folder.
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">

SHAIKH ZAID
- 24
- 5