-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I set a className on the rendered Portal element in order to style it with CSS? #1
Comments
Why do you need that? Why is not good enough to style just its child content? (You are asking about the empty |
One example is if a web application has some general styles that apply to all HTML elements, such as |
Oh, that's a very valid point. Is it good enough to add a CSS class (e.g |
Or this. It's more explicit for users, therefore better. |
I would like to style the root div element using a CSS class. Is there a way to set a className on the Portal, and not just its child content?
The text was updated successfully, but these errors were encountered: