I think he/she wants to pass the class attribute to child component. If that's the case, you can define global css style in the file src/styles.css. Otherwise, parent and child don't have same scope, so the css styles in parent are not accessible in child
src/styles.css. Otherwise, parent and child don't have same scope, so the css styles in parent are not accessible in child