.popUp { width: 300px; height: 300px; position: fixed; top: 0px; left: 0px; background-color: white; } .question .popUp { width: 300px; height: 20px; border: 1px solid black; background-color: black; }
As you can see, I am trying to make the question class a subclass of the popUp class. From what I googled, this should work, but it is not. If I do this instead:
.question { width: 300px; height: 20px; border: 1px solid black; background-color: black; }
It works, but it does not match the point.
source share