Dan Beeston is

Brushing Off Invisible Spiders

  • RSS icon

    I'm using Tailwind and I've extended my spacing to use a decimal point.

    '0.5': '2px',

    And I'm applying it in the less file.

    @apply mt-0.5;

    And it's failing saying "The 0.5 class does not exist."

    I finally realised it's a LessCss problem. Change the @apply value to ~"mt-0.5" and it all works again.