Zoom Application

Do we have in hilla global parameter for zoom app? I need set global zoom on 90% form my app

Here’s a basic CSS snippet that you might be able to use:

body {
  transform: scale(var(--zoom));
  transform-origin: 0 0;
  width: calc(100% / (var(--zoom)));
  --zoom: 0.9;

You can use the --zoom custom property to control the level of zoom you need. It needs to be a fractional number, instead of a percentage, though.


Using the viewport meta tag with a 0.9 initial scale might also work depending on what you’re trying to do Viewport meta tag - HTML: HyperText Markup Language | MDN