I want to change css flex variable based on variable number
So I'm making a module, in that module I have an image and some text that are side by side using flexbox. I want people to be able to manipulate a module variable "center" to control the flex property between the two items. This is my code.
I put this code in the html file so that the hubl variables should work, but it's not. Any tips on how to set the flex property based on module variables?