StatesState definitions allow you to express unique variations of UI patterns based on the element’s current status. Examples of states include hover, focus,…