Before we begin, let’s brush up on a bit on CSS.CSS (Cascading Style Sheet), in simple terms, if HTML is the…