Home > Article > Web Front-end > How to implement default style modification 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 I 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:watch monitoring routing changes and watch monitoring objects (detailed tutorial)
In the VUE listening window How to solve the problem of change events
How to make JS parabola animation (detailed tutorial)
The above is the detailed content of How to implement default style modification in elementui. For more information, please follow other related articles on the PHP Chinese website!