2 replies [Last post]
Tojo
Tojo's picture
Offline
Regular
Last seen: 5 years 27 weeks ago
Timezone: GMT+1
Joined: 2011-10-21
Posts: 44
Points: 76

I have added a flag on web site dise.com so the user can change to another language.

I have noticed that when I select another page in the navigation meny the logo DISE will jump a bit to the right. I don't like when it does so but I really don't know why.

I hope somebody can help me why it behave like this.

//Tony

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 21 weeks 22 hours ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Unable to replicate

I can't make it happen in Firefox. Is there a particular browser that exhibits this behavior?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

alisa12
alisa12's picture
Offline
newbie
New York
Last seen: 5 years 22 weeks ago
New York
Timezone: GMT+5
Joined: 2016-02-22
Posts: 1
Points: 1

@import

@import "compass/css3";
 
@include keyframes(bounce) {
	0%, 20%, 50%, 80%, 100% {
    @include transform(translateY(<img src="https://csscreator.com/sites/all/modules/smileys/packs/Roving/innocent.png" title="Innocent" alt="Innocent" class="smiley-content" />);
  }
	40% {
    @include transform(translateY(-30px));
  }
	60% {
    @include transform(translateY(-15px));
  }
}
 
 
body {
  background: black;
}
 
.arrow {
  position: fixed;
  bottom: 0;
  left: 50%;
  margin-left:-20px;
  width: 40px;
  height: 40px;
  background-image: url(...);
  background-size: contain;
}
 
.bounce {
  @include animation(bounce 2s infinite);
}