The Problem You want to select the parent of an element to style it. For example, you may have the following two buttons and you want to add extra padding to the button that has an icon: Start game 🦁 High Scores You need to select the parent button of the span with a class of "icon".