So I'm using Flask, Python, HTML, CSS, and jinja2 for a project and I wanna try to use jinja to make my website dynamic so I need to ask if it's possible to use jinja inside of my CSS file something like this:
{% if not users.password %}
.login_password_input {
border-color: red;
}
{{% endfor %}}
CodePudding user response:
AFAIK nope, you need create classes in css, and call it in your front code