Posts by Danilo Santos • 1 point
2 posts
-
-1
votes1
answer96
viewsQ: How to solve this problem in the collision?
If I check the collision only horizontally, the program picks up the entire width of the scene and not just the div. Code: <html> <style> #dv{ border:1px solid red;…
-
-2
votes1
answer37
viewsQ: How do I identify if the scale of the div being animated increased using javascript
<html> <style> #dv{ border:1px solid red; background:#344; width:80px; height:80px; animation:bloco 0.5s ease 1; } @keyframes bloco{ from{transform:scale(0.0)}to {transform:scale(0.6)} }…