Skip to content

Commit

Permalink
Don't highlight rocks on touch.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeboAtWinterlight committed Aug 25, 2024
1 parent 00bd062 commit 4946f5c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ body {
}

#scrollable-area {
width: 5000px;
height: 5000px;
width: 50000px;
height: 50000px;
background-image: url("./img/forest-tile-512x512.jpg");
background-repeat: repeat;
}
Expand All @@ -95,9 +95,14 @@ body {
height: 256px;
cursor: pointer;
transition: all 0.5s ease-out;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}

.rock img {
width: 100%;
height: 100%;
pointer-events: none;
}

0 comments on commit 4946f5c

Please # to comment.