@charset "UTF-8";标签:uniapp,right,初始化,top,bottom,padding,init,margin,left From: https://www.cnblogs.com/anans/p/18412695
body,html,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,textarea,p,th,td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
view,
image,
text {
box-sizing: border-box;
flex-shrink: 0;
}
#app {
width: 100vw;
height: 100vh;
}
.flex-row {
display: flex;
flex-direction: row;
}
.flex-col {
display: flex;
flex-direction: column;
}
.justify-start {
justify-content: flex-start;
}
.justify-end {
justify-content: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-around {
justify-content: space-around;
}
.justify-evenly {
justify-content: space-evenly;
}
.items-start {
align-items: flex-start;
}
.items-end {
align-items: flex-end;
}
.items-center {
align-items: center;
}
.flex-1 {
flex: 1 1 0;
}
.flex-auto {
flex: 1 1 auto;
}
.grow {
flex-grow: 1;
}
.grow-0 {
flex-grow: 0;
}
.relative {
position: relative;
}
.absolute {
position: absolute !important;
}
/* 外边距样式 */
.mt-10 { margin-top: 10rpx; }
.mr-10 { margin-right: 10rpx; }
.mb-10 { margin-bottom: 10rpx; }
.ml-10 { margin-left: 10rpx; }
.mt-15 { margin-top: 15rpx; }
.mr-15 { margin-right: 15rpx; }
.mb-15 { margin-bottom: 15rpx; }
.ml-15 { margin-left: 15rpx; }
.mt-20 { margin-top: 20rpx; }
.mr-20 { margin-right: 20rpx; }
.mb-20 { margin-bottom: 20rpx; }
.ml-20 { margin-left: 20rpx; }
.mt-25 { margin-top: 25rpx; }
.mr-25 { margin-right: 25rpx; }
.mb-25 { margin-bottom: 25rpx; }
.ml-25 { margin-left: 25rpx; }
.mt-30 { margin-top: 30rpx; }
.mr-30 { margin-right: 30rpx; }
.mb-30 { margin-bottom: 30rpx; }
.ml-30 { margin-left: 30rpx; }
.mt-35 { margin-top: 35rpx; }
.mr-35 { margin-right: 35rpx; }
.mb-35 { margin-bottom: 35rpx; }
.ml-35 { margin-left: 35rpx; }
.mt-40 { margin-top: 40rpx; }
.mr-40 { margin-right: 40rpx; }
.mb-40 { margin-bottom: 40rpx; }
.ml-40 { margin-left: 40rpx; }
.mt-45 { margin-top: 45rpx; }
.mr-45 { margin-right: 45rpx; }
.mb-45 { margin-bottom: 45rpx; }
.ml-45 { margin-left: 45rpx; }
.mt-50 { margin-top: 50rpx; }
.mr-50 { margin-right: 50rpx; }
.mb-50 { margin-bottom: 50rpx; }
.ml-50 { margin-left: 50rpx; }
.mt-55 { margin-top: 55rpx; }
.mr-55 { margin-right: 55rpx; }
.mb-55 { margin-bottom: 55rpx; }
.ml-55 { margin-left: 55rpx; }
.mt-60 { margin-top: 60rpx; }
.mr-60 { margin-right: 60rpx; }
.mb-60 { margin-bottom: 60rpx; }
.ml-60 { margin-left: 60rpx; }
.mt-65 { margin-top: 65rpx; }
.mr-65 { margin-right: 65rpx; }
.mb-65 { margin-bottom: 65rpx; }
.ml-65 { margin-left: 65rpx; }
.mt-70 { margin-top: 70rpx; }
.mr-70 { margin-right: 70rpx; }
.mb-70 { margin-bottom: 70rpx; }
.ml-70 { margin-left: 70rpx; }
.mt-75 { margin-top: 75rpx; }
.mr-75 { margin-right: 75rpx; }
.mb-75 { margin-bottom: 75rpx; }
.ml-75 { margin-left: 75rpx; }
.mt-80 { margin-top: 80rpx; }
.mr-80 { margin-right: 80rpx; }
.mb-80 { margin-bottom: 80rpx; }
.ml-80 { margin-left: 80rpx; }
.mt-85 { margin-top: 85rpx; }
.mr-85 { margin-right: 85rpx; }
.mb-85 { margin-bottom: 85rpx; }
.ml-85 { margin-left: 85rpx; }
.mt-90 { margin-top: 90rpx; }
.mr-90 { margin-right: 90rpx; }
.mb-90 { margin-bottom: 90rpx; }
.ml-90 { margin-left: 90rpx; }
.mt-95 { margin-top: 95rpx; }
.mr-95 { margin-right: 95rpx; }
.mb-95 { margin-bottom: 95rpx; }
.ml-95 { margin-left: 95rpx; }
.mt-100 { margin-top: 100rpx; }
.mr-100 { margin-right: 100rpx; }
.mb-100 { margin-bottom: 100rpx; }
.ml-100 { margin-left: 100rpx; }
/* 内边距样式 */
.pt-10 { padding-top: 10rpx; }
.pr-10 { padding-right: 10rpx; }
.pb-10 { padding-bottom: 10rpx; }
.pl-10 { padding-left: 10rpx; }
.pt-15 { padding-top: 15rpx; }
.pr-15 { padding-right: 15rpx; }
.pb-15 { padding-bottom: 15rpx; }
.pl-15 { padding-left: 15rpx; }
.pt-20 { padding-top: 20rpx; }
.pr-20 { padding-right: 20rpx; }
.pb-20 { padding-bottom: 20rpx; }
.pl-20 { padding-left: 20rpx; }
.pt-25 { padding-top: 25rpx; }
.pr-25 { padding-right: 25rpx; }
.pb-25 { padding-bottom: 25rpx; }
.pl-25 { padding-left: 25rpx; }
.pt-30 { padding-top: 30rpx; }
.pr-30 { padding-right: 30rpx; }
.pb-30 { padding-bottom: 30rpx; }
.pl-30 { padding-left: 30rpx; }
.pt-35 { padding-top: 35rpx; }
.pr-35 { padding-right: 35rpx; }
.pb-35 { padding-bottom: 35rpx; }
.pl-35 { padding-left: 35rpx; }
.pt-40 { padding-top: 40rpx; }
.pr-40 { padding-right: 40rpx; }
.pb-40 { padding-bottom: 40rpx; }
.pl-40 { padding-left: 40rpx; }
.pt-45 { padding-top: 45rpx; }
.pr-45 { padding-right: 45rpx; }
.pb-45 { padding-bottom: 45rpx; }
.pl-45 { padding-left: 45rpx; }
.pt-50 { padding-top: 50rpx; }
.pr-50 { padding-right: 50rpx; }
.pb-50 { padding-bottom: 50rpx; }
.pl-50 { padding-left: 50rpx; }
.pt-55 { padding-top: 55rpx; }
.pr-55 { padding-right: 55rpx; }
.pb-55 { padding-bottom: 55rpx; }
.pl-55 { padding-left: 55rpx; }
.pt-60 { padding-top: 60rpx; }
.pr-60 { padding-right: 60rpx; }
.pb-60 { padding-bottom: 60rpx; }
.pl-60 { padding-left: 60rpx; }
.pt-65 { padding-top: 65rpx; }
.pr-65 { padding-right: 65rpx; }
.pb-65 { padding-bottom: 65rpx; }
.pl-65 { padding-left: 65rpx; }
.pt-70 { padding-top: 70rpx; }
.pr-70 { padding-right: 70rpx; }
.pb-70 { padding-bottom: 70rpx; }
.pl-70 { padding-left: 70rpx; }
.pt-75 { padding-top: 75rpx; }
.pr-75 { padding-right: 75rpx; }
.pb-75 { padding-bottom: 75rpx; }
.pl-75 { padding-left: 75rpx; }
.pt-80 { padding-top: 80rpx; }
.pr-80 { padding-right: 80rpx; }
.pb-80 { padding-bottom: 80rpx; }
.pl-80 { padding-left: 80rpx; }
.pt-85 { padding-top: 85rpx; }
.pr-85 { padding-right: 85rpx; }
.pb-85 { padding-bottom: 85rpx; }
.pl-85 { padding-left: 85rpx; }
.pt-90 { padding-top: 90rpx; }
.pr-90 { padding-right: 90rpx; }
.pb-90 { padding-bottom: 90rpx; }
.pl-90 { padding-left: 90rpx; }
.pt-95 { padding-top: 95rpx; }
.pr-95 { padding-right: 95rpx; }
.pb-95 { padding-bottom: 95rpx; }
.pl-95 { padding-left: 95rpx; }
.pt-100 { padding-top: 100rpx; }
.pr-100 { padding-right: 100rpx; }
.pb-100 { padding-bottom: 100rpx; }
.pl-100 { padding-left: 100rpx; }
/* 字体大小样式 */
.fs-24 { font-size: 24rpx; }
.fs-26 { font-size: 26rpx; }
.fs-28 { font-size: 28rpx; }
.fs-30 { font-size: 30rpx; }
.fs-32 { font-size: 32rpx; }
.fs-34 { font-size: 34rpx; }
.fs-36 { font-size: 36rpx; }
.fs-38 { font-size: 38rpx; }
.fs-40 { font-size: 40rpx; }
.fs-42 { font-size: 42rpx; }
.fs-44 { font-size: 44rpx; }
.fs-46 { font-size: 46rpx; }
.fs-48 { font-size: 48rpx; }
.fs-50 { font-size: 50rpx; }
/*border-radius*/
.b-radius-8 { border-radius: 8rpx; }
.b-radius-10 { border-radius: 10rpx; }
.b-radius-12 { border-radius: 12rpx; }
.b-radius-14 { border-radius: 14rpx; }
.b-radius-16 { border-radius: 16rpx; }
.b-radius-18 { border-radius: 18rpx; }
.b-radius-20 { border-radius: 20rpx; }
.b-radius-22 { border-radius: 22rpx; }
.b-radius-24 { border-radius: 24rpx; }
.b-radius-26 { border-radius: 26rpx; }
.b-radius-28 { border-radius: 28rpx; }
.b-radius-30 { border-radius: 30rpx; }
.b-radius-32 { border-radius: 32rpx; }
.b-radius-34 { border-radius: 34rpx; }
.b-radius-36 { border-radius: 36rpx; }
.b-radius-38 { border-radius: 38rpx; }
.b-radius-40 { border-radius: 40rpx; }