 The phrase "Y tu mama tambien", by itself, is not offensive, but if  you put an offense before it or you answer to an offense with it, it  is one of the most offensive phrases in Mexican Spanish. By itself,  it means "And your mother too."