Placeholders

Placeholders

In the example below, we take a typical card component and recreate it with placeholders applied to create a “loading card”. Size and proportions are the same between the two.

...
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere

Width

You can change the width through grid column classes, width utilities, or inline styles.

Animation

Animate placehodlers with .placeholder-glow or .placeholder-wave to better convey the perception of something being actively loaded.

Color

By default, the placeholder uses currentColor. This can be overriden with a custom color or utility class.

How it works

Create placeholders with the .placeholder class and a grid column class (e.g., .col-6) to set the width. They can replace the text inside an element or as be added as a modifier class to an existing component.

Sizing

The size of .placeholders are based on the typographic style of the parent element. Customize them with sizing modifiers: .placeholder-lg, .placeholder-sm, or .placeholder-xs.

© Lunoz

Design & Develop by

精准极速赛马彩票联盟

精准极速赛马彩票联盟致力于为赛马爱好者和彩票玩家提供最优质的服务和信息。我们聚集了丰富的赛马知识,汇集精准的预测数据,帮助用户快速掌握赛马动态与投注技巧。加入我们,您不仅能享受到极速投注的乐趣,还能与众多彩民交流经验,共同探讨赢得大奖的方法,让每一次投注都充满期待与惊喜