Home > Article > Web Front-end > How to modify the default style in elementui?
Below I will share with you an article on how to modify the default style of element ui. It has a good reference value and I hope it will be helpful to everyone.
Today, use element ui to do I received a message prompt and found that the location of the prompt is always at the top, as shown in the picture:
But I want the location of the prompt to be at the bottom. what to do?
Finally I looked at the official api
It turns out there is a custom style attribute customClass, just set it
js code
css code
##Rendering
The above is what I compiled for everyone. I hope it will be helpful to everyone in the future. Related articles:Returning non-callback methods through WebView processing in react-native
Detailed interpretation of js function related content
How to dynamically add and delete data in AngularJS?
The above is the detailed content of How to modify the default style in elementui?. For more information, please follow other related articles on the PHP Chinese website!