We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原子化属性
下表列举了项目中常用的css属性,根据改写原子化的难易程度分为三类: a.适合使用原子类的属性,无痛迁移 b.中间态属性(使用原子类写法略复杂,需要配合自定义规则简化) c.不适合使用原子类的属性,保持原来写法
{ shortcuts: [ // dynamic shortcuts [/^text-gradient-to-(.*)$/, ([, c]) => `bg-gradient-to-${c} bg-clip-text text-transparent`], ],}
text-gradient-to-b from-[#fffad3_25%] to-[#fffd7f_75%]
width: 174px;height: 176px;background-image: url('@img/empty-icon.png');background-repeat: no-repeat;background-size: 100%;
{ shortcuts: [{'bg-common': 'bg-[length:100%] bg-no-repeat'}],}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
单位说明
原子化属性
下表列举了项目中常用的css属性,根据改写原子化的难易程度分为三类:
a.适合使用原子类的属性,无痛迁移
b.中间态属性(使用原子类写法略复杂,需要配合自定义规则简化)
c.不适合使用原子类的属性,保持原来写法
常见效果
translate实现水平垂直居中
关于背景图
The text was updated successfully, but these errors were encountered: