Foundation CSS Typography Helpers Subheader
Foundation CSS is an open-source & responsive front-end framework built by ZURB foundation in September 2011, that makes it easy to design beautiful responsive websites, apps, and emails to look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, Mozilla, Adobe, and even Disney. The framework is built on Saas-like bootstrap. It is more sophisticated, flexible, and easily customizable. It also comes with CLI, so it’s easy to use it with module bundlers. It offers the Fastclick.js tool for faster rendering on mobile devices.
Foundation CSS helper classes allow us to scaffold certain typographic styles faster. Foundation CSS has multiple typography helpers such as Text Alignment, Subheader, Lead Paragraph, Unbulleted List, and Typescale. In this article, we will learn about the Sub Header Typographic helper.
Foundation CSS Sub-header typographic helper lightens up the header content by increasing the transparency of the text. To convert a text block to a subheader in Foundation CSS, we use the subheader class. This class can be applied to any tag with a text block content i.e. <div>, <span> or <h1> tags.
Foundation CSS Subheader Typographic Helper Class:
- subheader: This class lightens the textual content by increasing transparency.
The following example demonstrates the subheader typographic helper class in <div>, <span>, <p> and <h1> to <h6> tags.
Please Login to comment...