Relative Content

Tag Archive for cssgotemplates

How can I make the table cell width change with a variable

I want to change the width of the table cell dynamically. In a different file I define width do the calculation for it. Then I pass it to this templ function. Width is calculated by dividing i by total then multiplied by 100. In the styles section I want .done’s width to change based on width. any ideas on how to make that work?