Skip to content
English

关于 ​

  • 总结一些常用的 CSS 样式
  • 记录一些 CSS 的新属性和一点奇技淫巧
  • 在“动”部分下有些动画并不是 CSS 效果,因为没有地方放置,所以暂时寄存在这里

尽量少说废话,代码简单易用,方便复制

talk is cheap show me the code

快速开始 ​

  • Clone the https://github.com/QiShaoXuan/css_tricks.git
  • 使用 Node.js 22 LTS(22.12 起)或 24+,运行 npm ci 安装依赖。
  • Development run npm run docs:dev
  • Open http://localhost:5173/css_tricks/ in your browser.
  • 运行 npm run build 构建,使用 npm run docs:preview 本地预览构建产物。

Contributing ​

  • Fork this repository
  • Create your branch: git checkout -b new-branch
  • Make your changes
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin new-branch
  • Submit a pull request

也可以提交 issue 或直接评论,欢迎需求 ~

JS Tricks ​

view online

关于猫 ​

前往 GitHub 查看或发表评论