<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>哔哔一二</title><description>一个关于技术、生活与思考的个人博客。</description><link>https://bber.cn/</link><item><title>用 DevTools 高效调试 B2 样式</title><link>https://bber.cn/posts/css-debug-devtools/</link><guid isPermaLink="true">https://bber.cn/posts/css-debug-devtools/</guid><description>定位被覆盖的样式、比较盒模型、实时改 CSS，把调试时间砍半。</description><pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate><category>技术</category><category>调试</category><category>DevTools</category><category>CSS</category></item><item><title>美化 B2 文章卡片的实战思路</title><link>https://bber.cn/posts/edit-post-card-b2/</link><guid isPermaLink="true">https://bber.cn/posts/edit-post-card-b2/</guid><description>从封面比例、信息层级到悬停动效，系统改造 B2 列表卡片。</description><pubDate>Sun, 16 Aug 2026 00:00:00 GMT</pubDate><category>美化</category><category>B2主题</category><category>卡片</category><category>美化</category></item><item><title>搭建一套可复用的配色系统</title><link>https://bber.cn/posts/color-system-design/</link><guid isPermaLink="true">https://bber.cn/posts/color-system-design/</guid><description>从主色、中性色到语义色，用阶梯变量组织配色，让 B2 改版不再凭感觉。</description><pubDate>Sun, 09 Aug 2026 00:00:00 GMT</pubDate><category>美化</category><category>配色</category><category>设计系统</category><category>CSS变量</category></item><item><title>纯 CSS 美化表单控件</title><link>https://bber.cn/posts/css-form-controls/</link><guid isPermaLink="true">https://bber.cn/posts/css-form-controls/</guid><description>用 appearance: none 重置默认样式，自定义复选框、单选与开关。</description><pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate><category>美化</category><category>CSS</category><category>表单</category><category>美化</category></item><item><title>用 Git 管理子主题版本</title><link>https://bber.cn/posts/git-child-theme/</link><guid isPermaLink="true">https://bber.cn/posts/git-child-theme/</guid><description>把 B2 子主题目录纳入 Git，记录每次美化改动，随时回滚。</description><pubDate>Sun, 26 Jul 2026 00:00:00 GMT</pubDate><category>技术</category><category>Git</category><category>版本控制</category><category>子主题</category></item><item><title>用 wp_enqueue 正确引入 JS/CSS</title><link>https://bber.cn/posts/wp-enqueue-assets/</link><guid isPermaLink="true">https://bber.cn/posts/wp-enqueue-assets/</guid><description>杜绝直接在模板里写 script 标签，用 wp_enqueue 管理依赖与版本。</description><pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate><category>技术</category><category>WordPress</category><category>enqueue</category><category>资源</category></item><item><title>WordPress 过滤器与动作钩子入门</title><link>https://bber.cn/posts/wp-filters-hooks/</link><guid isPermaLink="true">https://bber.cn/posts/wp-filters-hooks/</guid><description>理解 add_filter / add_action，用钩子在 B2 输出前后插入或改写内容。</description><pubDate>Sun, 12 Jul 2026 00:00:00 GMT</pubDate><category>技术</category><category>WordPress</category><category>Hook</category><category>Filter</category></item><item><title>子主题覆盖父主题模板</title><link>https://bber.cn/posts/override-parent-template/</link><guid isPermaLink="true">https://bber.cn/posts/override-parent-template/</guid><description>在子主题目录放同名模板文件即可覆盖 B2 对应模板，无需改动父主题。</description><pubDate>Sun, 05 Jul 2026 00:00:00 GMT</pubDate><category>美化</category><category>B2主题</category><category>模板</category><category>子主题</category></item><item><title>自定义 WordPress 短代码 Shortcode</title><link>https://bber.cn/posts/wp-shortcode/</link><guid isPermaLink="true">https://bber.cn/posts/wp-shortcode/</guid><description>用 add_shortcode 封装可复用组件，在文章里一键插入卡片、按钮等。</description><pubDate>Sun, 28 Jun 2026 00:00:00 GMT</pubDate><category>技术</category><category>WordPress</category><category>Shortcode</category><category>functions.php</category></item><item><title>WordPress REST API 入门</title><link>https://bber.cn/posts/wp-rest-api/</link><guid isPermaLink="true">https://bber.cn/posts/wp-rest-api/</guid><description>用 REST API 读取文章与分类，为 B2 做自定义前端或小程序打基础。</description><pubDate>Sun, 21 Jun 2026 00:00:00 GMT</pubDate><category>技术</category><category>WordPress</category><category>REST API</category><category>JSON</category></item><item><title>首页首屏加载优化清单</title><link>https://bber.cn/posts/homepage-perf/</link><guid isPermaLink="true">https://bber.cn/posts/homepage-perf/</guid><description>给 B2 首页做体检：字体、图片、脚本、缓存逐项提速。</description><pubDate>Sun, 14 Jun 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>优化清单</category><category>首页</category></item><item><title>关键渲染路径与首屏优化</title><link>https://bber.cn/posts/critical-rendering-path/</link><guid isPermaLink="true">https://bber.cn/posts/critical-rendering-path/</guid><description>理清浏览器渲染流程，针对性削减阻塞资源，加快首次内容绘制。</description><pubDate>Sun, 07 Jun 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>CRP</category><category>优化</category></item><item><title>代码块语法高亮</title><link>https://bber.cn/posts/code-highlight/</link><guid isPermaLink="true">https://bber.cn/posts/code-highlight/</guid><description>用 highlight.js / Prism 给文章代码上色，并适配暗色主题。</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>技术</category><category>代码高亮</category><category>highlight.js</category><category>美化</category></item><item><title>平滑滚动与自动生成文章目录</title><link>https://bber.cn/posts/smooth-scroll-toc/</link><guid isPermaLink="true">https://bber.cn/posts/smooth-scroll-toc/</guid><description>给长文加 TOC 侧边栏，点击平滑跳转并高亮当前章节。</description><pubDate>Sun, 24 May 2026 00:00:00 GMT</pubDate><category>技术</category><category>JS</category><category>TOC</category><category>交互</category></item><item><title>内联 SVG 图标与 symbol sprite</title><link>https://bber.cn/posts/svg-icon-sprite/</link><guid isPermaLink="true">https://bber.cn/posts/svg-icon-sprite/</guid><description>用 SVG sprite 一次性注入图标，避免重复请求，颜色随 currentColor 变化。</description><pubDate>Sun, 17 May 2026 00:00:00 GMT</pubDate><category>技术</category><category>SVG</category><category>图标</category><category>性能</category></item><item><title>图片懒加载：native lazy 与 IntersectionObserver</title><link>https://bber.cn/posts/image-lazyload/</link><guid isPermaLink="true">https://bber.cn/posts/image-lazyload/</guid><description>延迟加载首屏外图片，缩短首屏时间，附原生与 JS 两种方案。</description><pubDate>Sun, 10 May 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>图片</category><category>懒加载</category></item><item><title>卡片悬停微交互</title><link>https://bber.cn/posts/card-hover-micro/</link><guid isPermaLink="true">https://bber.cn/posts/card-hover-micro/</guid><description>用阴影、位移与图标动效做有质感的卡片反馈，克制而不花哨。</description><pubDate>Sun, 03 May 2026 00:00:00 GMT</pubDate><category>美化</category><category>CSS</category><category>微交互</category><category>悬停</category></item><item><title>自定义滚动条样式</title><link>https://bber.cn/posts/custom-scrollbar/</link><guid isPermaLink="true">https://bber.cn/posts/custom-scrollbar/</guid><description>用 ::-webkit-scrollbar 与 scrollbar-color 美化滚动条，呼应站点配色。</description><pubDate>Sun, 26 Apr 2026 00:00:00 GMT</pubDate><category>美化</category><category>CSS</category><category>滚动条</category><category>美化</category></item><item><title>移动优先的响应式断点设计</title><link>https://bber.cn/posts/responsive-breakpoints/</link><guid isPermaLink="true">https://bber.cn/posts/responsive-breakpoints/</guid><description>从手机样式往上叠加，用最少断点覆盖大屏，避免样式冲突。</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate><category>技术</category><category>响应式</category><category>CSS</category><category>移动端</category></item><item><title>position: sticky 实现吸顶导航</title><link>https://bber.cn/posts/sticky-nav/</link><guid isPermaLink="true">https://bber.cn/posts/sticky-nav/</guid><description>用 sticky 让导航在滚动时吸附顶部，比 fixed 更少破坏布局。</description><pubDate>Sun, 12 Apr 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>sticky</category><category>导航</category></item><item><title>will-change 与 backdrop-filter 的正确使用</title><link>https://bber.cn/posts/will-change-backdrop/</link><guid isPermaLink="true">https://bber.cn/posts/will-change-backdrop/</guid><description>避免 will-change 滥用导致内存暴涨，以及在滚动列表里谨慎使用 backdrop-filter。</description><pubDate>Sun, 05 Apr 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>will-change</category><category>backdrop-filter</category></item><item><title>过渡动画性能优化</title><link>https://bber.cn/posts/transition-perf/</link><guid isPermaLink="true">https://bber.cn/posts/transition-perf/</guid><description>只动 transform 与 opacity，避免触发重排重绘，让悬停动画丝滑不掉帧。</description><pubDate>Sun, 29 Mar 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>动画</category><category>CSS</category></item><item><title>用 clamp() 实现流式排版</title><link>https://bber.cn/posts/clamp-fluid-type/</link><guid isPermaLink="true">https://bber.cn/posts/clamp-fluid-type/</guid><description>一行代码让字号随视口平滑缩放，替代多段媒体查询。</description><pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>响应式</category><category>clamp</category></item><item><title>网页排版基础：行高、行宽与字距</title><link>https://bber.cn/posts/typography-basics/</link><guid isPermaLink="true">https://bber.cn/posts/typography-basics/</guid><description>掌握中文阅读舒适度的三个抓手，让 B2 文章页更易读。</description><pubDate>Sun, 15 Mar 2026 00:00:00 GMT</pubDate><category>美化</category><category>排版</category><category>可读性</category><category>CSS</category></item><item><title>用 Astro 搭建一个高性能个人博客</title><link>https://bber.cn/posts/astro-blog/</link><guid isPermaLink="true">https://bber.cn/posts/astro-blog/</guid><description>从零开始，用 Astro 内容集合与 Tailwind 打造一个轻量、快速、对中文友好的个人博客。</description><pubDate>Thu, 12 Mar 2026 00:00:00 GMT</pubDate><category>技术</category><category>Astro</category><category>静态站点</category><category>前端</category></item><item><title>网页字体优化与 font-display</title><link>https://bber.cn/posts/web-font-optimize/</link><guid isPermaLink="true">https://bber.cn/posts/web-font-optimize/</guid><description>用 font-display 控制文字闪动，配合 preload 与系统字体回退提速中文站点。</description><pubDate>Sun, 08 Mar 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能</category><category>字体</category><category>Web Font</category></item><item><title>暗色模式：自动 + 手动切换</title><link>https://bber.cn/posts/dark-mode-css/</link><guid isPermaLink="true">https://bber.cn/posts/dark-mode-css/</guid><description>基于 prefers-color-scheme 跟随系统，再用 CSS 变量与少量 JS 支持手动切换。</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>暗色模式</category><category>主题</category></item><item><title>渐变背景与玻璃拟态</title><link>https://bber.cn/posts/gradient-glassmorphism/</link><guid isPermaLink="true">https://bber.cn/posts/gradient-glassmorphism/</guid><description>用线性/径向渐变营造氛围，配合 backdrop-filter 做出通透的玻璃卡片。</description><pubDate>Mon, 23 Feb 2026 00:00:00 GMT</pubDate><category>美化</category><category>CSS</category><category>渐变</category><category>玻璃拟态</category></item><item><title>前端性能优化：从渲染到加载的实战清单</title><link>https://bber.cn/posts/frontend-perf/</link><guid isPermaLink="true">https://bber.cn/posts/frontend-perf/</guid><description>一份可以立刻上手的前端性能优化清单，覆盖加载、渲染与交互三个层面。</description><pubDate>Fri, 20 Feb 2026 00:00:00 GMT</pubDate><category>技术</category><category>性能优化</category><category>Web</category><category>体验</category></item><item><title>CSS Grid 网格布局实战</title><link>https://bber.cn/posts/css-grid-layout/</link><guid isPermaLink="true">https://bber.cn/posts/css-grid-layout/</guid><description>用二维网格做杂志式排版与自适应列数，复杂布局比 Flex 更直观。</description><pubDate>Mon, 16 Feb 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>Grid</category><category>布局</category></item><item><title>Flexbox 核心布局实战</title><link>https://bber.cn/posts/flexbox-layout/</link><guid isPermaLink="true">https://bber.cn/posts/flexbox-layout/</guid><description>用弹性盒模型快速实现导航栏、卡片排列与垂直居中，告别 float 与 margin 技巧。</description><pubDate>Mon, 09 Feb 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>Flexbox</category><category>布局</category></item><item><title>CSS 优先级与特异性避坑</title><link>https://bber.cn/posts/css-specificity/</link><guid isPermaLink="true">https://bber.cn/posts/css-specificity/</guid><description>理解选择器权重计算，避免 !important 满天飞，让覆盖 B2 样式更可控。</description><pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>特异性</category><category>调试</category></item><item><title>用 CSS 变量统一管理主题色</title><link>https://bber.cn/posts/css-variables-theming/</link><guid isPermaLink="true">https://bber.cn/posts/css-variables-theming/</guid><description>通过 :root 自定义属性集中管理颜色、间距与圆角，改一处全局生效。</description><pubDate>Thu, 22 Jan 2026 00:00:00 GMT</pubDate><category>技术</category><category>CSS</category><category>变量</category><category>主题</category></item><item><title>周末爬山记：在城市边缘寻找宁静</title><link>https://bber.cn/posts/hiking-weekend/</link><guid isPermaLink="true">https://bber.cn/posts/hiking-weekend/</guid><description>一次说走就走的近郊徒步，关于山、风，以及把手机调成静音后的那种踏实。</description><pubDate>Sun, 18 Jan 2026 00:00:00 GMT</pubDate><category>生活</category><category>旅行</category><category>生活</category><category>自然</category></item><item><title>子主题 functions.php 正确加载父主题样式</title><link>https://bber.cn/posts/child-functions-enqueue/</link><guid isPermaLink="true">https://bber.cn/posts/child-functions-enqueue/</guid><description>用 wp_enqueue_scripts 在子主题中继承并追加 B2 主题样式，顺序不打架。</description><pubDate>Thu, 15 Jan 2026 00:00:00 GMT</pubDate><category>美化</category><category>B2主题</category><category>functions.php</category><category>WordPress</category></item><item><title>B2 主题子主题创建与目录结构</title><link>https://bber.cn/posts/b2-child-theme-basics/</link><guid isPermaLink="true">https://bber.cn/posts/b2-child-theme-basics/</guid><description>从零开始为 B2 主题建立子主题，理清目录结构与样式加载顺序，避免直接改父主题。</description><pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate><category>美化</category><category>B2主题</category><category>子主题</category><category>WordPress</category></item><item><title>重读《活着》：关于苦难与坚韧</title><link>https://bber.cn/posts/alive-review/</link><guid isPermaLink="true">https://bber.cn/posts/alive-review/</guid><description>多年以后再次翻开余华的《活着》，我读到的不再是悲情，而是一种安静的活着本身。</description><pubDate>Fri, 05 Dec 2025 00:00:00 GMT</pubDate><category>读书</category><category>读书</category><category>文学</category><category>余华</category></item><item><title>为什么我开始写博客</title><link>https://bber.cn/posts/why-i-blog/</link><guid isPermaLink="true">https://bber.cn/posts/why-i-blog/</guid><description>不是因为擅长表达，恰恰是因为不擅长，所以更需要一个地方慢慢把想法写清楚。</description><pubDate>Mon, 10 Nov 2025 00:00:00 GMT</pubDate><category>随笔</category><category>随笔</category><category>写作</category><category>思考</category></item><item><title>我的极简桌面整理术</title><link>https://bber.cn/posts/minimal-desk/</link><guid isPermaLink="true">https://bber.cn/posts/minimal-desk/</guid><description>一套让桌面回归清爽的小习惯：少即是多，但&quot;少&quot;也需要刻意维持。</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate><category>生活</category><category>效率</category><category>生活</category><category>整理</category></item></channel></rss>