Home > Web Front-end > JS Tutorial > body text

How to modify the default style in elementui?

亚连
Release: 2018-06-04 17:43:34
Original
2719 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template