Adding condition to Class will concatenate them , I have added spaces but still the same

I have created an announcement bar but I have a checkbox in case it needed a marquee effect. The problem is that if I add the condition to add the class, it will not put space, the 2 class will just concatenate together. I tried adding a spacebar either way but still not working.


```css
{
	"type": "checkbox",
        "id": "is_scrolling",
        "label": "Scrolling Animation?"
	}

The final output will be just like this

Hi,

Try it like this :

Just to highlight for others on @Jayvin 's answer, the key here is to remove the dash ‘-’ on the if/endif tags. This was the silly mistake I made and didn’t see until I saw this answer!