CSS layout properties

What is the best practice for working with CSS for changing the layout of divs/groups?

I already have the page layout coded in CSS and have trouble with replicating these styles using the bubble UI. Mainly because bubble are applying absolute position to elements. I would like to create divs with flexbox and grid that will work as containers for elements created in bubble. Is this possible?