diff --git a/django_starfield/templates/django_starfield/stars.html b/django_starfield/templates/django_starfield/stars.html
index 239937704d6ba01fcabf55b9a28a4f433afa36aa..61b7d4bdcee79be37f45e1ad502e656bd2527fbe 100644
--- a/django_starfield/templates/django_starfield/stars.html
+++ b/django_starfield/templates/django_starfield/stars.html
@@ -8,7 +8,7 @@
 </div>
 <link rel="stylesheet" href="{% static 'django_starfield.css' %}" />
 <style type="text/css">
- #django-starfield-{{ widget.name }} label:before {
+ #django-starfield-{{ widget.name }} label::before {
   content: '\{{ codepoint }}';
  }
 </style>