27Sprucing Up Your Lists

Lists need not be dull, vertical things with a single bullet point per item. You can manipulate them no end! Maybe it annoys you that you can’t get rid of those bullet points that come with every unordered list. No worries: Compass has a great mixin called no-bullets, which removes all the bullet points from a list you’re making. Neat, eh? If you want to remove only one bullet point, just @includeno-bullet in the class.

I know some of you might be shouting, “But that’s so easy!” Well, it can be. It’s so much easier using Compass because of its cross-browser capabilities. No longer do you have to download every browser imaginable to test your code.

We can also use our own custom bullet point designs. Once we’ve imported ...

Get Pragmatic Guide to Sass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.