Skip to content

Best way to do placeholders (skeletons) for checkbox input with label #1233

Answered by dheineman
cavasinf asked this question in Q&A
Discussion options

You must be logged in to vote

You can combine placeholder classes with other bootstap/tabler elements & classes. so using your example and adding placeholder classes like this.

<div class="card">
   <div class="card-body">
      <!-- Test 1 -->
      <div class="row align-items-center mb-2">
         <div class="placeholder col-1 p-0"></div>
         <div class="placeholder col mx-3"></div>
      </div>

      <!-- Test 2 -->
      <div class="row align-items-center mb-2">
         <div class="avatar avatar-xs placeholder col-auto"></div>
         <div class="placeholder col mx-3"></div>
      </div>

      <!-- How it should looks like -->
      <div class="form-check">
         <input type="checkbox" class="form-che…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cavasinf
Comment options

@cavasinf
Comment options

Answer selected by cavasinf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants