Home > Article > Web Front-end > uniapp modifies component default style
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/].
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/
2 and /deep/
to the style of the current page, followed by what you found in element class name
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!