When i'm pushing text to the textbox, it only seems to be in the one colour as defined within the CSS. If you don't define it, it's just black I think.
To my knowledge there doesn't appear to be any conditional statement on CSS that I can use to make different entries in to the textbox different colours.
As an example to what i'm looking for when the player is looking at the textbox:
You are hit for x damage.
You hit for x damage.
x mob dies
x mob drops x loot
Is it not possible, or am I missing something very simple? I'm not an expert in CSS so i'm hoping it's something I just don't know yet!
Thanks for your time.