Zusty CSS Logo
Zusty CSS Logo
Version 1.2.0 is out now. Check out Release Notes.

Placeholder

Placeholder for indicating loading items.


Structure

<div class="zust-placeholder">
  <div class="zust-header"></div>
  <div class="zust-details">
    <div class="zust-image"></div>
    <div>
      <div class="zust-line"></div>
      <div class="zust-line"></div>
    </div>
  </div>
  <div class="zust-paragraph">
    <div class="zust-lines">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
  <div class="zust-image"></div>
</div>


Line

Make a line in placeholder by adding a div with class zust-line.

<div class="zust-placeholder">
  <div class="zust-line"></div>
</div>


Lines

You can make bunch of lines by adding a div with class zust-lines. Add as much div inside it as you want. A child div makes a line.

<div class="zust-placeholder">
  <div class="zust-lines">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
  </div>
</div>


Paragraph

You can make a paragraph by adding a div with class zust-paragraph and add other contents inside it.

<div class="zust-placeholder">
  <div class="zust-paragraph">
    <div class="zust-lines">
      <div></div>
      <div></div>
    </div>
  </div>
  <div class="zust-paragraph">
    <div class="zust-lines">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
</div>


Header

You can make a header by adding a div with class zust-header.

<div class="zust-placeholder">
  <div class="zust-header"></div>
</div>


Image

You can make an image by adding a div with class zust-image.

<div class="zust-placeholder">
  <div class="zust-image"></div>
</div>


Detail

You can make a detail item too. See the snippet below.

<div class="zust-placeholder">
  <div class="zust-details">
    <div class="zust-image"></div>
    <div>
      <div class="zust-line"></div>
      <div class="zust-line"></div>
    </div>
  </div>
</div>


Custom

You can make any item with any size. Just set the item's CSS property color to var(--placeholder-holder-color).


checkSuccessfully Copied

Get involved in improving Zusty CSS.

Report a BugFeature Request

Support us by

Starring it on GitHubJoining our Discord ServerSharing on Twitter

Rapid Search Inside of Docs