example of applying styles based on CSS selectors