there is an account, let's say for 100 rubles, but the payment on the account is not complete and 30 rubles is entered in the cell.
how to make a block so that its background matches the bill payment percentage. Ie in the block, in the cell of the table is the number of 30 rubles, it is 30% of 100 rubles, how to make the block paint over the background from left to right to 30%
- I was offered to make different pictures, they say 5 by 10, 15 and so on, and insert them into the background depending on the amount
- I was offered to use 1 more div, but as I will deduce the sum, if the diva changes its width, the sum will not fit there. (although right now I thought about the amount as absolutely positioned, but the div will be inside ... I'll try)
If anyone has a more competent solution - write!