Is there a simple way to center literally everything in the browser preview? I'm wanting to mask & center this guy right here
You need the container to be position absolute with left 50%.Then the content inside of it needs to be position relative and left -50%
The container in the project is the div with the ID "FramerRoot"Then all the new layers inside that container need to have position relative and left -50%
<div style="position: absolute; left: 50%;"> <div style="position: relative; left: -50%;"> I am some centered content </div> </div>
You might have to edit the index.html file once you save your changes inside Framer Studio if you can't target the container with CSS from within Studio....
mainLayer.center()mainLayer.clip = true