Note: selectors in uni-app have id, class, tags, etc., but there is no * selector
The page tag is similar to the body
uni-app style rpx
rpx is responsive px,
A dynamic unit that adapts to the screen width. Based on a 750-wide screen, 750rpx is exactly the width of the screen. When the screen becomes wider, the actual display effect of rpx will be proportionally enlarged, but when the screen width of the App (vue2 does not contain nvue) and H5 (vue2) side reaches 960px, the default will be calculated according to the screen width of 375px.
Note: Generally, the downloaded font icons contain the index.html file. Double-click the index.html file to see the corresponding font icon in the browser.
<view class="iconfont icon-fanhui"></view>
Effect
uni-app uses scss etc.
Download scss - from tools, check plugin installation - go to plugin market to install (install new plugin) -