replace cube background with penrose tiling

This commit is contained in:
jbb01 2024-09-15 17:29:05 +02:00
parent 6e5d53e554
commit 52bfc290f7
3 changed files with 12 additions and 4 deletions

View File

@ -24,10 +24,9 @@ html::before {
z-index: -1; z-index: -1;
background: conic-gradient(from 0deg in hsl longer hue, hsl(0deg 100% 12.5%) 0 0); background: conic-gradient(from 0deg in hsl longer hue, hsl(0deg 100% 12.5%) 0 0);
-webkit-mask-image: url("pattern.svg"); -webkit-mask-image: url("pattern/penrose.svg");
-webkit-mask-size: 5rem; -webkit-mask-size: max(100lvmax, 200rem);
mask-image: url("pattern.svg"); -webkit-mask-position: center;
mask-size: 5rem;
} }
body { body {

View File

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 645 B

9
pattern/penrose.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 211 KiB