Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fecd0eb

Browse files
Update click and drag project
1 parent 8c46acf commit fecd0eb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

β€Ž27 - Click and Drag/css/style.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ html {
3535
}
3636

3737
body {
38-
overflow-x: hidden;
3938
display: flex;
4039
min-height: 100vh;
4140
align-items: center;
@@ -50,13 +49,20 @@ body {
5049
padding-top: 7rem;
5150
position: relative;
5251
user-select: none;
53-
overflow: hidden;
52+
overflow-x: scroll;
53+
overflow-y: hidden;
5454
white-space: nowrap;
5555
cursor: grab;
5656
transition: all 0.2s ease;
5757
perspective: 65rem;
5858
transform: scale(0.98);
5959
-webkit-tap-highlight-color: transparent;
60+
-ms-overflow-style: none;
61+
scrollbar-width: none;
62+
}
63+
64+
.items::-webkit-scrollbar {
65+
display: none;
6066
}
6167

6268
.items.active {

β€Ž27 - Click and Drag/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<!-- title -->
45
<title>Click and Drag</title>
56

67
<!-- required meta tags -->
@@ -43,6 +44,7 @@
4344
<div class="item item24"></div>
4445
<div class="item item25"></div>
4546
</div>
47+
4648
<audio preload="auto" id="sound">
4749
<source src="sound/paper.wav" />
4850
Your browser does not support the

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /