I’m building a site where my client is going to be regularly inputting prices. At the moment all they need to do is type in the price, and using the :before element I chuck a pound sign (£) in front of the number. This looks a little something like this:
The problem I’m running into is some prices are prefixed with the word “from”, which as you might have guessed look a little like this:
Is there a way to use the :before element before the first number using pure CSS?