当前位置:网站首页>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;
}
边栏推荐
- Quantitative calculation research
- Itext7 uses iexternalsignature container for signature and signature verification
- If you can't learn, you have to learn. Jetpack compose writes an im app (II)
- 239. Sliding window maximum
- Flutter: about monitoring on flutter applications
- Talk about the state management mechanism in Flink framework
- Shutter: about inheritedwidget
- Dart: about Libraries
- 1-1 token
- 1-2 project technology selection and structure
猜你喜欢

4000 word super detailed pointer

PHP导出word方法(一mht)

Self made pop-up input box, input text, and click to complete the event.

网络通讯之Socket-Tcp(一)

Socket TCP for network communication (I)

Itext7 uses iexternalsignature container for signature and signature verification

Shutter: overview of shutter architecture (excerpt)

Integer string int mutual conversion

Solve msvcp120d DLL and msvcr120d DLL missing

Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
随机推荐
Display time with message interval of more than 1 minute in wechat applet discussion area
(构造笔记)ADT与OOP
242. Effective letter heteronyms
2.8 overview of ViewModel knowledge
New features of ES6
Introduction to concurrent programming (II)
MCDF Experiment 1
(construction notes) learn the specific technology of how to design reusable software entities from three levels: class, API and framework
111. Minimum depth of binary tree
Interview experience in summer camp of Central South University in 2022
[combinatorics] permutation and combination (summary of permutation and combination content | selection problem | set permutation | set combination)
(構造筆記)從類、API、框架三個層面學習如何設計可複用軟件實體的具體技術
Swagger
The difference between lambda and anonymous inner class
Introduction to concurrent programming (I)
Vulnhub pyexp
SLF4J 日志门面
Itext7 uses iexternalsignature container for signature and signature verification
Integer int compare size
shardingSphere分库分表<3>