Skip to content

The Open Standard for Generative UI

379 B
Raw Blame
.preview {
  margin: 2rem 0;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

.preview img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.centeredImage {
  display: flex;
  justify-content: center;
}

.centeredImage img {
  display: block;
  margin-inline: auto;
}