Bootstrap CSS Classes

Bootstrap CSS class .img-thumbnail

<img class="img-thumbnail" src="/placeholder/pictures/image.svg" alt="Thumbnail image">

Preview

CSS source

/* _images.scss:14 */
.img-thumbnail {
  padding: $thumbnail-padding;
  background-color: $thumbnail-bg;
  border: $thumbnail-border-width solid $thumbnail-border-color;
  @include border-radius($thumbnail-border-radius);
  @include box-shadow($thumbnail-box-shadow);

  // Keep them at most 100% wide
  @include img-fluid;
}

Check .img-thumbnail in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Bootstrap CSS classes in Images category

© 2024 Shuffle. All rights reserved.