# 【Tailwind CSS】升级指南 * 用 flow-root 代替 clearfix [clearfix: 消除float屬性](https://www.programfarmer.com/articles/2019/css-float-and-flex) [clearfix 與 float-root](https://www.digitalocean.com/community/tutorials/css-no-more-clearfix-flow-root) * 更新依赖类顺序的 @apply 语句 @apply: 在你的css class 使用 tailwind 或自訂的 utility class: https://tailwindcss.com/docs/functions-and-directives#apply * 在 textOverflow 下启用任何 truncate variants [text-overflow](https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow) [word-break](https://developer.mozilla.org/zh-CN/docs/Web/CSS/word-break) * 在空格或分割元素内的任何模板标签中添加隐藏功能 [Alpine](https://www.cc.ntu.edu.tw/chinese/epaper/home/20240320_006808.html) * 更新清除选项以匹配 PurgeCSS 3.0 [PurgeCss](https://purgecss.com/)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up