We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe.
Describe the solution you'd like:
Describe alternatives you've considered:
Additional context:
The text was updated successfully, but these errors were encountered:
!DOCTYPE html>
<style> body{ background-color: red; } .painel{ margin: auto; background-color: white; width: 500px; height: 500px; border-radius: 20px; text-align: center; padding-top: 50px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; } #sim{ height: 40px; width: 60px; background-color: red; border: 2px solid white; border-radius: 10px; color: white; margin-left: -50px; } #nao{ position: absolute; height: 40px; width: 60px; background-color: red; border: 2px solid white; border-radius: 10px; color: white; margin-left: 10px; } </style>
<div class="painel"> <h1> EU TE AMO MINHA GATINHA</h1> <img src="https://gifman.net/wp-content/uploads/2019/06/ursinho-fofo-apaixonado.gif" alt=""> <h2>QUER ME DA O CUZINHO HOJE ? </h2> <a href="https://www.youtube.com/watch?v=oRvND-r57Us"><button id="sim" > Sim! </button></a> <button onmouseover="fuja()" id="nao"> Não! </button> </div> <script> function fuja(){ var botaoNao = document.getElementById("nao") var larguraJanela = window.innerWidth; var alturaJanela = window.innerHeight; var maxX = larguraJanela - botaoNao.offsetWidth; var maxY = alturaJanela - botaoNao.offsetHeight; var aleatorioX = Math.floor(Math.random() * maxX); var aleatorioY = Math.floor(Math.random() * maxY); botaoNao.style.left = aleatorioX + "px"; botaoNao.style.top = aleatorioY + "px"; } </script>
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
Describe the solution you'd like:
Describe alternatives you've considered:
Additional context:
The text was updated successfully, but these errors were encountered: