Home  >  Article  >  Web Front-end  >  How to modify the default style in elementui?

How to modify the default style in elementui?

亚连
亚连Original
2018-06-04 17:43:342702browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn