-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bee animation and dog controls
- Loading branch information
1 parent
dba5348
commit 7837301
Showing
7 changed files
with
124 additions
and
40 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,59 @@ | ||
#canvas1, | ||
.ball { | ||
position: absolute; | ||
} | ||
|
||
#canvas1 { | ||
position: relative; | ||
top: 50%; | ||
left: 0%; | ||
top: 550%; | ||
left: 20%; | ||
opacity: 10; | ||
transform: translate(-50%, -50%); /* Zentriere #canvas1 im Container */ | ||
max-width: 600px; | ||
max-height: 600px; | ||
margin-top: 100px; | ||
margin-bottom: 150px; | ||
cursor: pointer; | ||
} | ||
|
||
.ball { | ||
position: absolute; | ||
top: 490%; | ||
left: 30%; | ||
bottom: 20px; | ||
right: 20px; | ||
width: 100px; | ||
} | ||
.controls { | ||
position: relative; | ||
top: 10%; | ||
top: 80%; | ||
left: 10%; | ||
} | ||
.controls, | ||
select, | ||
option { | ||
margin-top: 150px; | ||
margin-top: 250px; | ||
font-size: 25px; | ||
cursor: pointer; | ||
} | ||
|
||
/* Media Query für kleine Geräte */ | ||
/* Media Query */ | ||
@media (max-width: 768px) { | ||
.ball { | ||
position: absolute; | ||
/* Die Größe und Position bleiben gleich */ | ||
width: 100px; | ||
margin-top: 550px; | ||
width: 50px; | ||
margin-top: 1300px; | ||
left: 75%; | ||
} | ||
|
||
#canvas1 { | ||
/* Die Größe und Position bleiben gleich */ | ||
width: 500px; | ||
height: 500px; | ||
margin-top: 900px; | ||
margin-left: 150px; | ||
width: 400px; | ||
height: 400px; | ||
} | ||
|
||
.controls, | ||
select, | ||
option { | ||
/* Stellen Sie sicher, dass die Steuerelemente sichtbar und zugänglich bleiben */ | ||
margin-top: 150px; | ||
font-size: 25px; /* Optionale Anpassung der Schriftgröße, falls erforderlich */ | ||
margin-top: 50px; | ||
font-size: 25px; | ||
} | ||
} |
Empty file.