Add Numbers to Increase value inside Curly Braces

I’m working on Elementor Widget Development. I’m struggling for increasing a value inside Curly braces.
Here’s the source code –
‘selectors’ => [ ‘{{WRAPPER}} .selector-class’ => ‘width: {{SIZE}}{{UNIT}};’ ]

Output:

.elementor .selector-class{ width: 100px; }

I need to Increase it like few pixels like additional 40px. So, I need the output like –

.elementor .selector-class{ width: 140px; }

NOTE: I’ve multiple Selectors. So, I need few more selectors. I can manage it. I need a solution for this one.

Read more here:: Add Numbers to Increase value inside Curly Braces

Leave a Reply

Your email address will not be published. Required fields are marked *