Skip to content

Instantly share code, notes, and snippets.

@ostermanj
Created January 12, 2023 15:16
Show Gist options
  • Save ostermanj/1fca89adfbd045bb9a9e948b3b157293 to your computer and use it in GitHub Desktop.
Save ostermanj/1fca89adfbd045bb9a9e948b3b157293 to your computer and use it in GitHub Desktop.
Container query
.tl-all-event-desc {
max-width: 400px;
font-size: 1em;
display: none;
}
@container article-item (min-width: 470px) {
.tl-all-event-desc {
display: block;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment