Home  >  Article  >  Web Front-end  >  uniapp modifies component default style

uniapp modifies component default style

coldplay.xixi
coldplay.xixiOriginal
2020-12-18 14:10:374464browse

Uniapp method to modify the default style of components: 1. Add [/deep/] to the style of the current page; 2. Add the class name found in element after [/deep/].

uniapp modifies component default style

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version. This method is suitable for all brands of computers.

Recommendation (free): uni-app development tutorial

Uniapp method to modify the default style of components:

1. Add /deep/

uniapp modifies component default style

2 and /deep/ to the style of the current page, followed by what you found in element class name

uniapp modifies component default style

The above is the detailed content of uniapp modifies component default style. 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