next
This commit is contained in:
1 parent
b244287f6a
commit
5a2d49c17f
77 files changed
+2289
-31
No files matched your search
@@ -41,6 +41,13 @@ const objects = ['steps', 'nested', 'stack'] as const;
|
||||
hyphens: auto;
|
||||
}
|
||||
.vcards__item :global(.vcards__object) { width: 100%; max-width: 14rem; justify-self: center; align-self: center; }
|
||||
/* Hovering a card lets its grid recede, so the shape that carries the idea stands alone. */
|
||||
@media (hover: hover) {
|
||||
.vcards__item:hover {
|
||||
--object-scale: 1.03;
|
||||
--object-grid: 0.26;
|
||||
}
|
||||
}
|
||||
.vcards__body { max-width: 26em; }
|
||||
@media (min-width: 48rem) {
|
||||
.vcards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
|
||||
Reference in new issue
Block a user