Skip to content

Commit

Permalink
progress!
Browse files Browse the repository at this point in the history
  • Loading branch information
damongolding committed Oct 15, 2024
1 parent cfec554 commit 8f35a81
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions views/views_home.templ
Original file line number Diff line number Diff line change
Expand Up @@ -119,20 +119,25 @@ func imageZoomKeyframes(zoomAmount int) string {
@keyframes image-zoom-in {
from {
transform: scale(1);
transform-origin: center;
}
to {
transform: scale(%.2f);
transform-origin: bottom left;
}
}
@keyframes image-zoom-out {
from {
transform: scale(%.2f);
transform-origin: top right;
}
to {
transform: scale(1);
transform-origin: center;
}
}
</style>`, zoom, zoom)
Expand Down
17 changes: 11 additions & 6 deletions views/views_home_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f35a81

Please sign in to comment.