This uses CSS3 transitions and CSS2 pseudo-elements to create an animated navigation ribbon with minimal markup…