You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!DOCTYPE html>
<html>
<head>
<script>
functionsizeOfThings(){
var windowWidth = window.innerWidth;
var windowHeight = window.innerHeight;
var screenWidth = screen.width;
var screenHeight = screen.height;
document.querySelector('.window-size').innerHTML = windowWidth + 'x' + windowHeight;
document.querySelector('.screen-size').innerHTML = screenWidth + 'x' + screenHeight;
};
</script>
</head>
<body onload="sizeOfThings()">
<h3>Window size is <span class="window-size"></span></h3>
<p>Knowingthis number you can make decisions based in breakpoints of window.</p>
<hr>
<h3>Screen size is <span class="screen-size"></span></h3>
<p>Here you have an idea of device screen size. </p>
</body>
</html>
Na tela config geral colocar um swicht para ligar o modo "info tela" que mostrar as dimensões da tela para produzir as imagens
The text was updated successfully, but these errors were encountered: