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

How to implement default style modification in elementui

亚连
Release: 2018-06-05 09:29:06
Original
3640 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 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!

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