0

I'm having an issue with my nav bar in internet explorer and I don't know how to solve it and have been trying to for hours. Below is the code that I think is the problem.

nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  background: var(--background);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
Ross
  • 1

1 Answers1

1

Internet Explorer does not support CSS variables.

You might be able to use a polyfill to work around the limitation.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335