Last active
January 2, 2020 21:29
-
-
Save neslinesli93/1d63f266d0d010fa74bca5747236eb7e to your computer and use it in GitHub Desktop.
Add paddle to the template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="game-container"> | |
<div class="block paddle" | |
style="transform: translate3d(<%= @paddle.left %>px, <%= @paddle.top %>px, 0px); | |
width: <%= @paddle.width %>px; | |
height: <%= @paddle.height %>px; "> | |
</div> | |
<!-- ... other code below --> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment