Currently, I am utilizing Bootstrap with Django, but for some reason, one of the CSS files is not functioning correctly.
- This link is not working: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.css
- However, this one is working fine: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css
I have double-checked that both files are of the same Bootstrap version. Below is the code snippet from my base template's static file:
<!-- The non-working CSS link -->
{% load static %}
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}">
<!-- The working minified CSS link -->
{% load static %}
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
Both versions of the file are present in my static directory. Can anyone shed light on why only the .min.css
works and not the regular .css
? My preference is to use the uncompressed CSS file.