![]() |
VOOZH | about |
A Foundation is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. The framework is based on bootstrap, which is similar to SaaS. Itβs more complex, versatile, and configurable. It also comes with a command-line interface, making it simple to use with module bundlers. Email framework provides you with responsive HTML emails, which can be read on any device. Foundation for Apps allows you to build fully responsive web applications.
In this article, we will learn about foundation CSS prototyping utility list styling.
What are Prototyping utilities?
Quickly prototype layouts and UI with Foundation's Prototyping Utilities. These optional classes and mixins are great for quickly turning sketches and mockups into coded prototypes.
What is a list styling utility?
This utility helps to provide some styling to the lists.
This supports two types of lists.
Ordered List classes:
Syntax:
<ol class="no-bullet">...</ol>
Note: In the above syntax replace the class name as per the need.
Unordered List classes:
Syntax:
<ul class="list-disc">...</ul>
Enabling Font-Styling Utility:
Syntax:
@include foundation-prototype-list-style-type;
Example 1: In this example; we will learn to use different classes of an ordered list.
Output:
Example 2: In this example; we will learn to use different classes of an unordered list.
Output:
Reference link: https://get.foundation/sites/docs/prototyping-utilities.html#list-styling