# easy-code-manager/1.2.1/framework/css/bootstrap/less/thumbnails.less

FluentSnippets – High-Performance Code Snippets, Header &amp; Footer Code, Custom CSS &amp; PHP Code Manager, version 1.2.1. 37 lines.

- Page: https://pluginprobe.com/plugins/easy-code-manager/1.2.1/code/framework/css/bootstrap/less/thumbnails.less
- Raw: https://pluginprobe.com/plugins/easy-code-manager/1.2.1/raw/framework/css/bootstrap/less/thumbnails.less
- Modified: 2018-11-20T15:24:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-code-manager/1.2.1/code/framework/css/bootstrap/less/thumbnails.less#L10-L20`.

```less
//
// Thumbnails
// --------------------------------------------------


// Mixin and adjust the regular image class
.thumbnail {
  display: block;
  padding: @thumbnail-padding;
  margin-bottom: @line-height-computed;
  line-height: @line-height-base;
  background-color: @thumbnail-bg;
  border: 1px solid @thumbnail-border;
  border-radius: @thumbnail-border-radius;
  .transition(border .2s ease-in-out);

  > img,
  a > img {
    &:extend(.img-responsive);
    margin-left: auto;
    margin-right: auto;
  }

  // Add a hover state for linked versions only
  a&:hover,
  a&:focus,
  a&.active {
    border-color: @link-color;
  }

  // Image captions
  .caption {
    padding: @thumbnail-caption-padding;
    color: @thumbnail-caption-color;
  }
}

```
