Skip to content

Instantly share code, notes, and snippets.

@RSpace
Created March 2, 2016 13:03
Show Gist options
  • Save RSpace/bc19b1a5b93fdf9fd05f to your computer and use it in GitHub Desktop.
Save RSpace/bc19b1a5b93fdf9fd05f to your computer and use it in GitHub Desktop.
// This in A-Frame:
<a-entity position="10 10 10" rotation="0 90 0">
<a-cube position="1 5 0">
<a-image position="2 0 5">
</a-entity>
// ... is similar to this in HTML/CSS:
<div style="position: relative; left: 200px; top: 100px;">
<div style="position: absolute; left: 10px; top: 0px;"></div>
<div style="position: absolute; left: 50px; top: 50px;"></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment