1

The container transform: translatex(-100%); moving to transform: translatex(0); in Internet Explorer 11 and Edge not working properly. Content moves but it goes back when touch on mouse.

.widget {
  position: fixed;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  border-radius: 4px;
  transition: all 1.5s;
  max-height: 400px;
  left: 0;
  transform: translatex(-100%);
}
.widget:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transform: translatex(0);
}

Demo: https://codepen.io/anon/pen/MEMKKL

Mo.
  • 26,306
  • 36
  • 159
  • 225

1 Answers1

1

As mentioned previously, you will need to add a prefix of -ms- for browser support.

For reference, you can use: https://caniuse.com/#search=transform

Jack
  • 61
  • 9