Skip to content

Commit b1d6b1d

Browse files
author
Ariadne Engelbrecht
committed
Change animation-duration for smaller screens.
1 parent 0c88d04 commit b1d6b1d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

week_11__final-project/spelling_bee/fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# fly.toml app configuration file generated for urban-spelling-bee on 2023-06-19T21:06:31+02:00
1+
# fly.toml app configuration file generated for urban-spelling-bee on 2023-06-20T11:39:10+02:00
22
#
33
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44
#

week_11__final-project/spelling_bee/static/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ window.addEventListener('DOMContentLoaded', function () {
145145
if (!sessionStorage.getItem('beeShown')) {
146146
if (window.innerWidth <= 768) {
147147
// Add class for smaller screens and set animation duration
148-
bee.style.animation = 'fly-small-screens 3s, jiggle 1s infinite';
148+
bee.style.animation = 'fly-small-screens 13s, jiggle 1s infinite';
149149
bee.style.top = '10%';
150150
bee.style.left = '72%';
151151
beeInnerWrapper.setAttribute('transform', 'rotate(90 50 50)');

0 commit comments

Comments
 (0)