<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Responsive on Commentary of Takao</title><link>https://takao.blog/zh/tags/responsive/</link><description>Recent content in Responsive on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>Commentary of Takao</copyright><lastBuildDate>Wed, 15 Jul 2026 22:01:08 +0900</lastBuildDate><atom:link href="https://takao.blog/zh/tags/responsive/index.xml" rel="self" type="application/rss+xml"/><item><title>使用 CSS 容器查询设计模块化布局</title><link>https://takao.blog/zh/web/css-container-queries-vs-media-queries/</link><pubDate>Thu, 10 Jul 2025 00:00:00 +0900</pubDate><guid>https://takao.blog/zh/web/css-container-queries-vs-media-queries/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/css-container-queries-vs-media-queries-zh.png" alt="Featured image of post 使用 CSS 容器查询设计模块化布局" /&gt;&lt;h2 id="介绍"&gt;介绍
&lt;/h2&gt;&lt;p&gt;多年来，&lt;strong&gt;媒体查询 (&lt;code&gt;@media&lt;/code&gt;)&lt;/strong&gt; 一直是响应式网页设计的基础。&lt;/p&gt;
&lt;p&gt;媒体查询根据浏览器窗口的视口宽度触发布局更改。然而，在现代组件驱动开发（使用 React、Vue 或 Web Components）中，基于视口的样式组件有明显的局限性。&lt;/p&gt;</description></item></channel></rss>