Back to layout Classes

object-cover

Usage

<div class="object-cover">
  <!-- Your content here -->
</div>

Examples

Here are some examples of how to use the object-cover class:

<!-- Basic usage -->
<div class="object-cover">Content</div>

<!-- With other classes -->
<div class="object-cover p-4 bg-white">Content with padding and background</div>