2D Transform
here is the relevant code
#goat{
transition: transform 0.5s;
}
goat:hover {
transform: rotate(45deg);
}