当前位置:网站首页>Applet wxss introduction
Applet wxss introduction
2022-07-03 12:25:00 【jackaroo2020】
Selectors
- Class selectors class ,. Started on
/* Multiple places are used ; Use multiple in one place */
<view class="course-card sec-card"></view>
element
Combination selector , Comma separated
.course-card image {
width: 100%;
border-radius: 5px;
}
ID Selectors
Descendant selector , The blank space to separate
Color
- rgb/16 Base number
- Where to use color , typeface 、 background 、 Frame 、 shadow
- family size weight
font-size: 14px;
color: #23b8ff;
The box model
- Margin 、 padding 、 Border and content section
- When doing small programs , As far as possible need not px , Use %
- box-sizing content-box border-box
margin-left: 2vw;
margin-right: 2vw;
margin-top: 10px;
margin-bottom: 10px;
Positon location
- fixed Relative window
- relative Relative to oneself
- absolute Relative to the nearest non static ,page
Flex
- Layout
- Parent container , Sub container
- display: flex flex Pilot Website
.list-scroll-view {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
justify-content: space-between;
}
边栏推荐
- Recovery of website address and method of Amazon account login two-step verification failure caused by mobile phone number becoming empty
- Wechat applet development - page Jump transfer parameters
- Socket TCP for network communication (I)
- Qt+vtk+occt reading iges/step model
- [download attached] password acquisition tool lazagne installation and use
- 手机号码变成空号导致亚马逊账号登陆两步验证失败的恢复网址及方法
- Unicode encoding table download
- adb push apk
- (构造笔记)从类、API、框架三个层面学习如何设计可复用软件实体的具体技术
- Introduction to concurrent programming (I)
猜你喜欢
The future of cloud computing cloud native
(构造笔记)ADT与OOP
Pki/ca and digital certificate
During FTP login, the error "530 login incorrect.login failed" is reported
Solve msvcp120d DLL and msvcr120d DLL missing
PHP export word method (one MHT)
Cloud Computing future - native Cloud
【mysql专项】读锁和写锁
win10 上PHP artisan storage:link 出现 symlink (): Protocol error的解决办法
Shutter: add gradient stroke to font
随机推荐
云计算未来 — 云原生
Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
PHP導出word方法(一mht)
OpenGL shader use
[combinatorics] permutation and combination (summary of permutation and combination content | selection problem | set permutation | set combination)
2.8 overview of ViewModel knowledge
Talk about the state management mechanism in Flink framework
Flutter 退出登录二次确认怎么做才更优雅?
repo Manifest Format
Self made pop-up input box, input text, and click to complete the event.
Cloud Computing future - native Cloud
Download address and installation tutorial of vs2015
Implement verification code verification
wpa_ cli
Is it OK to open an account for online stock speculation? Is the fund safe?
typeScript
Symlink(): solution to protocol error in PHP artisan storage:link on win10
ES6 standard
QT OpenGL texture map
Shutter: overview of shutter architecture (excerpt)