Other then a browser zoom is there any script or API that can downscale
the full content of browser "all elements".
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
Jonas Thörnvall:Do this also apply to forms and HTML?
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see: <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There
is no method to tell the browser "scale as much as needed to show all elements within the current viewport".
--
Arno Welzel
https://arnowelzel.de
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There
is no method to tell the browser "scale as much as needed to show all
elements within the current viewport".
Do this also apply to forms and HTML?
söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
Jonas Thörnvall:
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There
is no method to tell the browser "scale as much as needed to show all >> elements within the current viewport".
Do this also apply to forms and HTML?Well - I talked about CSS and refer to an example in HTML.
Why don't you just try it on your own?It actually did, i will check it do all elements within the div even if canvas and other divs.
--
Arno Welzel
https://arnowelzel.de
Jonas Thörnvall:It actually did, i will check it do all elements within the div even if canvas and other divs.
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There >> is no method to tell the browser "scale as much as needed to show all
elements within the current viewport".
Do this also apply to forms and HTML?Well - I talked about CSS and refer to an example in HTML.
Why don't you just try it on your own?
--
Arno Welzel
https://arnowelzel.de
Jonas Thörnvall:Well if it doesn't downscale forms it is not use to me.
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There >> is no method to tell the browser "scale as much as needed to show all
elements within the current viewport".
Do this also apply to forms and HTML?Well - I talked about CSS and refer to an example in HTML.
Why don't you just try it on your own?
--
Arno Welzel
https://arnowelzel.de
söndag 27 juni 2021 kl. 17:31:28 UTC+2 skrev Jonas Thörnvall:
söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
Jonas Thörnvall:It actually did, i will check it do all elements within the div even if canvas and other divs.
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There >>>>> is no method to tell the browser "scale as much as needed to show all >>>>> elements within the current viewport".
Do this also apply to forms and HTML?Well - I talked about CSS and refer to an example in HTML.
Why don't you just try it on your own?
--
Arno Welzel
https://arnowelzel.de
Thanks anyway.
Jonas Thörnvall:
söndag 27 juni 2021 kl. 17:31:28 UTC+2 skrev Jonas Thörnvall:CSS scale transform of the HTML element will scale *everything* inside
söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
Jonas Thörnvall:It actually did, i will check it do all elements within the div even if canvas and other divs.
söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:[...]
Jonas Thörnvall:
Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".You can use CSS transformations to scale the BODY element:
Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
Example: <https://arnowelzel.de/samples/scale.html>
Howerver - "all elements" needs to be calculated using JavaScript. There
is no method to tell the browser "scale as much as needed to show all >>>>> elements within the current viewport".
Do this also apply to forms and HTML?Well - I talked about CSS and refer to an example in HTML.
Why don't you just try it on your own?
--
Arno Welzel
https://arnowelzel.de
Thanks anyway.
the HTML. Otherwise this wouldn't make sense at all. Usually applying
this to BODY is suffficient as well.
Just learn how to use your browser and the web developer tools of it and manually add the following CSS rule after you loaded a website:
html {
transform: scale(0.5);
}
This will scale *everything* to 50% of the original size - yes, also
canvas elements and forms inside the document.
--
Arno Welzel
https://arnowelzel.de
I already have the code for decide size, now i just must make the CSS value dynamic!
söndag 27 juni 2021 kl. 23:40:44 UTC+2 skrev Arno Welzel:[...]
Just learn how to use your browser and the web developer tools of it and
manually add the following CSS rule after you loaded a website:
html {
transform: scale(0.5);
}
This will scale *everything* to 50% of the original size - yes, also
canvas elements and forms inside the document.
Great! best effort of today.
Thank you Arno, this will come in handy, i sized everything for 1920*1080, but there probably still people with laptops who want 1320*768.
I already have the code for decide size, now i just must make the CSS value dynamic!
Thanks Again Arno!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 249 |
Nodes: | 16 (2 / 14) |
Uptime: | 73:57:00 |
Calls: | 5,505 |
Files: | 11,668 |
Messages: | 5,074,989 |