2025
em vs rem in CSS
In CSS, em and rem represent relative units that display the scalable and responsive results.
Generate Fuse Index With Node.js
Fuse.js is a lightweight fuzzy-search, in JavaScript, with zero dependencies.
CSS Combinators
A combinator is a sign that explains the relationship between selectors.
CSS Selectors
CSS selectors are used to “find” (or select) the HTML elements you want to style.
Minify HTML
Minify HTML with htmlnano which inspired by cssnano.
Minify CSS and JavaScript
发布博客时,压缩CSS和JavaScript文件的大小,能提升网页的加载速度,这里介绍使用cssnano和Terser工具来压缩。
2024
Use tldraw in Vite
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.