Changing structure and altering css