Netguru interview question

How pseudo slectors work (in details) in CSS?