Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • feat/new-image-formats
  • clickable-select-chevron
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.1
  • 2.16.0
  • 2.15.0
  • 2.14.0
  • 2.13.0
  • 2.12.1
  • 2.11.0
  • 2.10.0
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.1
  • 2.7.0
  • 2.6.0
  • 2.5.2
  • 2.5.1
23 results

avatar.pcss

Blame
  • avatar.pcss 551 B
    .avatar {
      @apply inline-block text-center rounded-full;
    
      img {
        @apply rounded-full block w-full;
      }
    }
    
    @responsive {
      .avatar--2xs {
        @apply w-8;
      }
      .avatar--xs {
        @apply w-12;
      }
      .avatar--sm {
        @apply w-20;
      }
      .avatar--md {
        @apply w-24;
      }
      .avatar--lg {
        @apply w-28;
      }
      .avatar--xl {
        @apply w-36;
      }
      .avatar--2xl {
        @apply w-48;
      }
      .avatar--3xl {
        @apply w-56;
      }
    }
    
    .avatar--bordered {
      img {
        @apply border-white border-8;
      }
    }
    
    .avatar--outlined {
      @apply border-grey-100 border;
    }