Is it possible for you to create a CSS code with logic?