Skip to content

Instantly share code, notes, and snippets.

@sonichandni
Created February 13, 2020 08:23
Show Gist options
  • Save sonichandni/52bc1ce7fa8534c80e176561db68ba08 to your computer and use it in GitHub Desktop.
Save sonichandni/52bc1ce7fa8534c80e176561db68ba08 to your computer and use it in GitHub Desktop.
//css
.disabledDiv {
pointer-events: none;
opacity: 0.5;
}
//laravel blade
@if($disabledVideosCount > 0)
<div class="row">
<div class="col-12">
<div class="d-flex flex-md-row flex-column align-items-center mb-0 pb-0">
<p class="text-danger">* The div is disabled</p>
</div>
</div>
</div>
@endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment