Convert element styles into classes

Hullo,

I have been tinkering with bricks for a while now, and since there now is a tool that converts code into bricks elements I wonder if there’s a way to catch styles from an item and make a class out of it. Like you customize a div, assign a class to it and then click on the class to make copy all the values from that element excluding values that belong to other classes that element has.

Is this already a thing? If not… can you please add it to the features request list?

Hey @mofo,

you should already be able to do this. To move styles from ID level to class, just deselect any classes, so ID is selected, then right click on the element → copy styles then select class, and right click → paste styles.

That should be it :slight_smile:

Matej

That works… and it was also pretty easy to find. My bad.

Thank you!