Responsive UI

I am creating a 2D game that will be imported into WebGL. The resolution I am using is portrait 1080x1920, but I want to make it appear/responsive in landscape mode (1920x1080).

Is there an effective way to do this?

file: index.html

.webgl-wrapper, body,* {
  height: 100%;

  width: 100%;

  max-width: 1920px; /* remove this line for full width */

CSS adjust it in comment and like it up, in few 3 seconds browser should update.