Why is my specific css code changes not being reflected on my browser?

后端 未结 1 1480
情歌与酒
情歌与酒 2021-01-27 10:42

So, I have a specific css code for my badge message notification that is not being updated when I mess with it. The rest of my css, form styles.css are working. When I edit them

相关标签:
1条回答
  • 2021-01-27 11:07

    You're going to kick yourself...

    You are missing quotes around the first text-danger class and you have two class attributes:

    <a class="text-danger notification"  href="{% url 'dating_app:conversations' user.id %}" type="text/css"> 
    <span>Inbox</span>
    <span class="badge">{% unread_messages request.user %}</span>
    </a>
    
    0 讨论(0)
提交回复
热议问题