colcade icon indicating copy to clipboard operation
colcade copied to clipboard

Grid layout

Open jmas opened this issue 3 years ago • 0 comments

.ui-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
}

.ui-grid-item {
  display: grid;
  gap: 10px;
}

.ui-grid-item img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.ui-grid-col {
  display: grid;
  align-content: start;
  gap: 40px;
}

@media (min-width: 768px) {
  .ui-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .ui-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

jmas avatar Nov 18 '21 09:11 jmas