Moving CSS/Html elements Dynamically

Hi, I was wondering if its possible to move css elements dynamically. For example; I have a panel that tweens into view from the top of the screen. I want that panel to have some css/html buttons on it, can those buttons be included with the screen that comes in as a child or something?

As far as I can tell, currently all the css is fixed and just gets positioned once as the css/htmls script is activated.

Hey @Grimmy, the way one would usually move around HTML UI elements during runtime is tweaking the margin properties through JS/jQuery. The way to change any CSS property is like so. You could do this for any of the margin properties - top, bottom, left, right etc.

2 Likes