<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>网站 on 如如居</title><link>https://biboer.cn/tags/%E7%BD%91%E7%AB%99/</link><description>Recent content in 网站 on 如如居</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 15 Oct 2025 11:00:00 +0000</lastBuildDate><atom:link href="https://biboer.cn/tags/%E7%BD%91%E7%AB%99/index.xml" rel="self" type="application/rss+xml"/><item><title>建设日志</title><link>https://biboer.cn/post/readme/</link><pubDate>Thu, 01 Feb 2024 11:00:00 +0000</pubDate><guid>https://biboer.cn/post/readme/</guid><description>&lt;h2 id="思路">思路&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>gitea server内容管理工具。
✅&lt;/p>
&lt;/li>
&lt;li>
&lt;p>hugo作为web发布工具。
✅&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>shell脚本，一键发布&lt;/strong>。
✅&lt;/p>
&lt;/li>
&lt;li>
&lt;p>整体过程：本地变更 - git push - 登录remote - pull - hugo发布 - 检查服务(nginx/gitea/mount)&lt;br>
git管理和hugo网站管理完全融合。内容修改后，执行shell，git变更和hugo发布都完成。
✅&lt;/p></description></item><item><title>CSS Grid Cheat Sheet</title><link>https://biboer.cn/post/cssgrid/</link><pubDate>Wed, 15 Oct 2025 11:00:00 +0000</pubDate><guid>https://biboer.cn/post/cssgrid/</guid><description>&lt;h1 id="-css-grid-一览表默认值--可选值">📋 CSS Grid 一览表（默认值 + 可选值）&lt;/h1>
&lt;h2 id="1-容器属性grid-container">1. 容器属性（Grid Container）&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>属性&lt;/th>
 &lt;th>默认值 / 可选值&lt;/th>
 &lt;th>说明&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>display&lt;/td>
 &lt;td>block → grid / inline-grid&lt;/td>
 &lt;td>定义网格容器&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-template-columns&lt;/td>
 &lt;td>none → 长度 / 百分比 / fr / repeat() / minmax()&lt;/td>
 &lt;td>定义列宽&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-template-rows&lt;/td>
 &lt;td>none → 长度 / 百分比 / fr / repeat() / minmax()&lt;/td>
 &lt;td>定义行高&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-template-areas&lt;/td>
 &lt;td>none → 字符串区域&lt;/td>
 &lt;td>命名区域布局&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-auto-rows&lt;/td>
 &lt;td>auto → 长度 / minmax()&lt;/td>
 &lt;td>隐式生成行的高度&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-auto-columns&lt;/td>
 &lt;td>auto → 长度 / minmax()&lt;/td>
 &lt;td>隐式生成列的宽度&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-auto-flow&lt;/td>
 &lt;td>row → row / column / row dense / column dense&lt;/td>
 &lt;td>自动放置方向与填充策略&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>gap&lt;/td>
 &lt;td>0 → 长度&lt;/td>
 &lt;td>行列间距（简写）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>row-gap&lt;/td>
 &lt;td>0 → 长度&lt;/td>
 &lt;td>行间距&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>column-gap&lt;/td>
 &lt;td>0 → 长度&lt;/td>
 &lt;td>列间距&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;hr>
&lt;h2 id="2-容器对齐">2. 容器对齐&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>属性&lt;/th>
 &lt;th>默认值 / 可选值&lt;/th>
 &lt;th>说明&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>justify-items&lt;/td>
 &lt;td>stretch → start / end / center / stretch&lt;/td>
 &lt;td>所有项目水平对齐方式&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>align-items&lt;/td>
 &lt;td>stretch → start / end / center / stretch&lt;/td>
 &lt;td>所有项目垂直对齐方式&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>place-items&lt;/td>
 &lt;td>— → align justify&lt;/td>
 &lt;td>align-items + justify-items 简写&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>justify-content&lt;/td>
 &lt;td>start → start / end / center / space-between / space-around / space-evenly&lt;/td>
 &lt;td>网格整体水平分布&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>align-content&lt;/td>
 &lt;td>start → start / end / center / space-between / space-around / space-evenly&lt;/td>
 &lt;td>网格整体垂直分布&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>place-content&lt;/td>
 &lt;td>— → align justify&lt;/td>
 &lt;td>align-content + justify-content 简写&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;hr>
&lt;h2 id="3-项目属性grid-item">3. 项目属性（Grid Item）&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>属性&lt;/th>
 &lt;th>默认值 / 可选值&lt;/th>
 &lt;th>说明&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>grid-column-start&lt;/td>
 &lt;td>auto → 数字 / 名称 / span n&lt;/td>
 &lt;td>起始列线&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-column-end&lt;/td>
 &lt;td>auto → 数字 / 名称 / span n&lt;/td>
 &lt;td>结束列线&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-row-start&lt;/td>
 &lt;td>auto → 数字 / 名称 / span n&lt;/td>
 &lt;td>起始行线&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-row-end&lt;/td>
 &lt;td>auto → 数字 / 名称 / span n&lt;/td>
 &lt;td>结束行线&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-column&lt;/td>
 &lt;td>— → start / end&lt;/td>
 &lt;td>列范围（简写）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-row&lt;/td>
 &lt;td>— → start / end&lt;/td>
 &lt;td>行范围（简写）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>grid-area&lt;/td>
 &lt;td>— → 区域名 / 行列范围&lt;/td>
 &lt;td>指定区域或位置&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>justify-self&lt;/td>
 &lt;td>stretch → start / end / center / stretch&lt;/td>
 &lt;td>单元格内水平对齐&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>align-self&lt;/td>
 &lt;td>stretch → start / end / center / stretch&lt;/td>
 &lt;td>单元格内垂直对齐&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>place-self&lt;/td>
 &lt;td>— → align justify&lt;/td>
 &lt;td>align-self + justify-self 简写&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;hr>
&lt;h2 id="4-常用函数">4. 常用函数&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>函数&lt;/th>
 &lt;th>说明&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>repeat(n, value)&lt;/td>
 &lt;td>重复定义轨道&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>minmax(min, max)&lt;/td>
 &lt;td>定义最小与最大尺寸&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>auto-fit&lt;/td>
 &lt;td>自动填充并拉伸项目以填满空间&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>auto-fill&lt;/td>
 &lt;td>自动填充但不强制拉伸&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="-对齐方式速查">📐 对齐方式速查&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>align-content / justify-content&lt;/strong>: 作用于整个网格
&lt;ul>
&lt;li>&lt;code>start&lt;/code> / &lt;code>end&lt;/code> / &lt;code>center&lt;/code> / &lt;code>stretch&lt;/code> / &lt;code>space-between&lt;/code> / &lt;code>space-around&lt;/code> / &lt;code>space-evenly&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>align-items / justify-items&lt;/strong>: 作用于单元格内所有项目
&lt;ul>
&lt;li>&lt;code>start&lt;/code> / &lt;code>end&lt;/code> / &lt;code>center&lt;/code> / &lt;code>stretch&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>align-self / justify-self&lt;/strong>: 单独控制某个项目
&lt;ul>
&lt;li>&lt;code>start&lt;/code> / &lt;code>end&lt;/code> / &lt;code>center&lt;/code> / &lt;code>stretch&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;h2 id="图示1">图示1&lt;/h2>
&lt;p>![[cssgrid.png]]
![[cssgrid-1.png]]
![[cssgrid-2.png]]
![[cssgrid-3.png]]
![[cssgrid-4.png]]
![[cssgrid-5.png]]&lt;/p></description></item></channel></rss>