当前位置:网站首页>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;
}
边栏推荐
- Introduction to concurrent programming (II)
- Simple factory and factory method mode
- 2.6 preliminary cognition of synergetic couroutines
- How to deploy web pages to Alibaba cloud
- Jsup crawls Baidu Encyclopedia
- 4000字超详解指针
- 145. Post order traversal of binary tree
- LeetCode 0556.下一个更大元素 III - 4步讲完
- Use of QT OpenGL camera
- DEJA_VU3D - Cesium功能集 之 054-模拟火箭发射全过程
猜你喜欢

Quantitative calculation research

Laravel time zone timezone

If you can't learn, you have to learn. Jetpack compose writes an im app (II)

(构造笔记)ADT与OOP

Kubernetes three dozen probes and probe mode
![[MySQL special] read lock and write lock](/img/ac/e01c26882cc664ea2e5e731c5a8bab.png)
[MySQL special] read lock and write lock

4000 word super detailed pointer

Basic knowledge of OpenGL (sort it out according to your own understanding)

Shutter: add gradient stroke to font

Itext7 uses iexternalsignature container for signature and signature verification
随机推荐
win10 上PHP artisan storage:link 出现 symlink (): Protocol error的解决办法
Basic knowledge of OpenGL (sort it out according to your own understanding)
DEJA_ Vu3d - cesium feature set 053 underground mode effect
DEJA_VU3D - Cesium功能集 之 054-模拟火箭发射全过程
PHP get the file list and folder list under the folder
网上炒股开户安不安全?谁给回答一下
Use of QT OpenGL camera
4000 word super detailed pointer
Differences between MySQL Union and union all
OpenGL index cache object EBO and lineweight mode
Interview experience in summer camp of Central South University in 2022
wpa_ cli
Dart: about Libraries
2.7 overview of livedata knowledge points
Integer string int mutual conversion
Fundamentals of concurrent programming (III)
1-2 project technology selection and structure
2020-09_ Shell Programming Notes
Lambda expression
Dart: About zone