Is calling someone “white trash” racist, classist, or both?

My neighbors are loud, dirty and obnoxious. They got 4 or 5 unruly kids and 4 dogs that's always barking. They're unemployed and the wife mother owns the rowhome they're in so they're likely living there for free or very low rent. During an argument I called them white trash and in return they called me the N word. I didn't call them that to be racist I just think they're low lives. I feel like what I said is more of a classist statement.

Is calling someone “white trash” racist, classist, or both?
Post Opinion