/* 这里是主题色相关 不属于 tailwindcss 标准类 */
.text-primary-color {
color: #19325e;
}
.text-black-color {
color: #191919;
}
.text-blue-color {
color: #5e82ab;
}
.text-yellow-color {
color: #e5ab4a;
}
.text-red-color {
color: #b95a4b;
}
.text-purple-color {
color: #9e66b9;
}
.bg-primary-color {
background-color: #5e82ab;
}
.bg-blue-color {
background-color: #5e82ab;
}
/* 定位类 */
.relative {
position: relative;
}
.absolute {
position: absolute;
}
.fixed {
position: fixed;
}
.inset-0 {
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
.bottom-0 {
bottom: 0px;
}
.z-10 {
z-index: 10;
}
/* 布局类 */
.block {
display: block;
}
.inline-block {
display: inline-block;
}
.flex {
display: flex;
}
.flex-row {
flex-direction: row;
}
.flex-col {
flex-direction: column;
}
.flex-grow {
flex-grow: 1;
}
.flex-grow-0 {
flex-grow: 0;
}
.flex-shrink {
flex-shrink: 1;
}
.flex-shrink-0 {
flex-shrink: 0;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.items-baseline {
align-items: baseline;
}
.items-start {
align-items: flex-start;
}
.items-end {
align-items: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-evenly {
justify-content: space-evenly;
}
.justify-around {
justify-content: space-around;
}
.grid {
display: grid;
}
.grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.gap-4 {
gap: 4px;
}
.gap-10 {
gap: 10px;
}
.gap-x-10 {
column-gap: 10px;
}
.gap-x-20 {
column-gap: 20px;
}
/* 宽度 */
.w-4 {
width: 4px;
}
.w-8 {
width: 8px;
}
.w-12 {
width: 12px;
}
.w-14 {
width: 14px;
}
.w-16 {
width: 16px;
}
.w-20 {
width: 20px;
}
.w-24 {
width: 24px;
}
.w-26 {
width: 26px;
}
.w-30 {
width: 30px;
}
.w-34 {
width: 34px;
}
.w-36 {
width: 36px;
}
.w-40 {
width: 40px;
}
.w-48 {
width: 48px;
}
.w-60 {
width: 60px;
}
.w-100 {
width: 100px;
}
.w-180 {
width: 180px;
}
.w-200 {
width: 200px;
}
.w-300 {
width: 300px;
}
.w-full {
width: 100%;
}
.max-w-100 {
max-width: 100px;
}
.max-w-200 {
max-width: 200px;
}
.w-1_3 {
width: 33.333333%;
}
.w-8_12 {
width: 66.666667%;
}
.w-9_12 {
width: 75%;
}
.w-10_12 {
width: 83.333333%;
}
/* 高度 */
.h-4 {
height: 4px;
}
.h-8 {
height: 8px;
}
.h-12 {
height: 12px;
}
.h-14 {
height: 14px;
}
.h-16 {
height: 16px;
}
.h-20 {
height: 20px;
}
.h-26 {
height: 26px;
}
.h-34 {
height: 34px;
}
.h-36 {
height: 36px;
}
.h-60 {
height: 60px;
}
.h-100 {
height: 100px;
}
.h-200 {
height: 200px;
}
.h-400 {
height: 400px;
}
.h-full {
height: 100%;
}
.h-screen {
height: 100vh;
}
.min-h-screen {
min-height: 100vh;
}
.h-28 {
height: 28px;
}
/* 文本类 */
.text-xs {
font-size: 12px;
}
.text-sm {
font-size: 14px;
}
.text-lg {
font-size: 16px;
}
.text-lg {
font-size: 16px;
}
.text-xl {
font-size: 18px;
}
.text-2xl {
font-size: 20px;
}
.text-3xl {
font-size: 24px;
}
.text-4xl {
font-size: 30px;
}
.text-5xl {
font-size: 36px;
}
.text-6xl {
font-size: 50px;
}
.text-white {
color: white;
}
.text-black {
color: black;
}
.text-center {
text-align: center;
}
.text-gray-400 {
color: rgba(156, 163, 175, 1);
}
.text-gray-900 {
color: rgba(17, 24, 39, 1);
}
.text-red-500 {
color: rgba(239, 68, 68, 1);
}
.text-red-600 {
color: rgba(220, 38, 38, 1);
}
.font-bold {
font-weight: 700;
}
.line-through {
text-decoration: line-through;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.line-clamp-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.line-clamp-3 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
/* 背景类 */
.bg-white {
background-color: white;
}
.bg-gray-100 {
background-color: rgba(243, 244, 246, 1);
}
.bg-gray-200 {
background-color: rgba(229, 231, 235, 1);
}
.bg-gray-300 {
background-color: rgba(209, 213, 219, 1);
}
/* 边框类 */
.border-solid {
border-style: solid;
}
.border-0 {
border-width: 0px;
}
.border-2 {
border-width: 2px;
}
.border-4 {
border-width: 4px;
}
.border-b {
border-bottom-width: 1px;
}
.border-t {
border-top-width: 1px;
}
.border-gray-100 {
border-color: rgba(243, 244, 246, 1);
}
.border-gray-200 {
border-color: rgba(229, 231, 235, 1);
}
.border-gray-300 {
border-color: rgba(209, 213, 219, 1);
}
.rounded-sm {
border-radius: 4px;
}
.rounded {
border-radius: 8px;
}
.rounded-md {
border-radius: 16px;
}
.rounded-lg {
border-radius: 24px;
}
.rounded-full {
border-radius: 9999px;
}
/* 内边距类 */
.p-4 {
padding: 4px;
}
.p-6 {
padding: 6px;
}
.p-10 {
padding: 10px;
}
.p-16 {
padding: 16px;
}
.p-20 {
padding: 20px;
}
.p-40 {
padding: 40px;
}
.pt-10 {
padding-top: 10px;
}
.pt-20 {
padding-top: 20px;
}
.pl-10 {
padding-left: 10px;
}
.pl-14 {
padding-left: 14px;
}
.pl-20 {
padding-left: 20px;
}
.px-4 {
padding-left: 4px;
padding-right: 4px;
}
.px-6 {
padding-left: 6px;
padding-right: 6px;
}
.px-10 {
padding-left: 10px;
padding-right: 10px;
}
.px-16 {
padding-left: 16px;
padding-right: 16px;
}
.px-20 {
padding-left: 20px;
padding-right: 20px;
}
.py-2 {
padding-top: 2px;
padding-bottom: 2px;
}
.py-4 {
padding-top: 4px;
padding-bottom: 4px;
}
.py-6 {
padding-top: 6px;
padding-bottom: 6px;
}
.py-10 {
padding-top: 10px;
padding-bottom: 10px;
}
.py-16 {
padding-top: 16px;
padding-bottom: 16px;
}
.pb-0 {
padding-bottom: 0px;
}
.pb-4 {
padding-bottom: 4px;
}
.pb-10 {
padding-bottom: 10px;
}
.pb-16 {
padding-bottom: 16px;
}
.pb-20 {
padding-bottom: 20px;
}
/* 外边距 */
.m-10 {
margin: 10px;
}
.m-16 {
margin: 16px;
}
.m-20 {
margin: 20px;
}
.ml-6 {
margin-left: 6px;
}
.ml-10 {
margin-left: 10px;
}
.ml-16 {
margin-left: 16px;
}
.ml-20 {
margin-left: 20px;
}
.ml-50 {
margin-left: 50px;
}
.mr-6 {
margin-right: 6px;
}
.mr-10 {
margin-right: 10px;
}
.mr-16 {
margin-right: 16px;
}
.mr-20 {
margin-right: 20px;
}
.mt-4 {
margin-top: 4px;
}
.mt-6 {
margin-top: 6px;
}
.mt-10 {
margin-top: 10px;
}
.mt-16 {
margin-top: 16px;
}
.mt-20 {
margin-top: 20px;
}
.mt-30 {
margin-top: 30px;
}
.mt-50 {
margin-top: 50px;
}
.mt-80 {
margin-top: 80px;
}
.mt-100 {
margin-top: 100px;
}
.mb-6 {
margin-bottom: 6px;
}
.mb-10 {
margin-bottom: 10px;
}
.mb-16 {
margin-bottom: 16px;
}
.mb-30 {
margin-bottom: 30px;
}
.mb-40 {
margin-bottom: 40px;
}
.mb-50 {
margin-bottom: 50px;
}
.mx-16 {
margin-left: 16px;
margin-right: 16px;
}
.mx-20 {
margin-left: 20px;
margin-right: 20px;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
/* 变换 */
.transform {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
--tw-rotate: 180deg;
}
/* 溢出 */
.overflow-hidden {
overflow: hidden;
}
.overflow-auto {
overflow: autp;
}
/* Box Sizing */
.box-border {
box-sizing: border-box;
}
/* Space Between /
.space-x-4>+* {
margin-right: 0px;
margin-left: 4px;
}
这段代码是什么,实现什么