How to use tick / checkmark symbol (✓) instead of bullets in an unordered list?
Turn your regular bullets into confident checkmarks by using the magic of CSS. Make the default bullets disappear by using list-style-type: none;
, then summon the mighty ::before
pseudo-element to prepend a satisfying ✓ symbol.
Work this charm into your ul
:
Voila! You now have a list that confidently checks off tasks with checkmarks, not bullets.
Creating space and style
Remember the golden rule of real estate (and apparently lists): location, location, location. Space is crucial in all things design, lists included. Providing a space after the tick symbol greatly improves your list's readability and overall look. Implement this by using the Unicode character \2713
or \2714
followed by the escape sequence \0020
to create a space:
This CSS modification leaves ample room between the checkmark and the text and aligns your content quite nicely. But wait, there's more! Using CSS again, you can customize the colour and style of your checkmark, making it one with your design:
Suddenly, your checkmarks are not only present, they're also dressed to impress.
Absolute positioning: Tick symbol edition
A trip into the land of absolute positioning offers you more control in your checkmark placement adventure. Get started by chalking out some space to the left of your li
element:
Scope out your territory by using absolute positioning for pixel-perfect placement:
Throwing SVGs into the mix
Because we don't do "basic" around here, let's swap our Unicode ticks with SVG icons. Their unrivalled scalability and customization make them the top pick for optimal results. Here's how you can master the SVG game:
Pick one that vibes with your site's aesthetics from a vast buffet of SVG offerings courtesy of libraries Font Awesome and more.
Was this article helpful?