<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Responsive Design on Nalar</title>
    <link>https://nalar.dev/tags/responsive-design/</link>
    <description>Recent content in Responsive Design on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 01 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/responsive-design/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Container Queries for Component-Level Responsive CSS</title>
      <link>https://nalar.dev/container-queries-component-responsive-design/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/container-queries-component-responsive-design/</guid>
      <description>&lt;p&gt;Media queries answer a viewport-level question: how wide is the browser? Reusable components often need a different answer: how much space does &lt;em&gt;this component&lt;/em&gt; have where it was placed?&lt;/p&gt;&#xA;&lt;p&gt;CSS container queries solve that problem. A card can render compactly in a sidebar and switch to a horizontal layout in a wide content area without knowing either page layout in advance.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-viewport-breakpoints-leak-layout-assumptions&#34;&gt;Why viewport breakpoints leak layout assumptions&lt;/h2&gt;&#xA;&lt;p&gt;Consider a reusable article card. A media query might switch it to two columns when the viewport exceeds 900 pixels:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CSS Logical Properties for International and Flexible Layouts</title>
      <link>https://nalar.dev/css-logical-properties-for-international-layouts/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/css-logical-properties-for-international-layouts/</guid>
      <description>&lt;p&gt;CSS traditionally describes spacing and borders with physical directions such as &lt;code&gt;left&lt;/code&gt;, &lt;code&gt;right&lt;/code&gt;, &lt;code&gt;top&lt;/code&gt;, and &lt;code&gt;bottom&lt;/code&gt;. That works until a component must support right-to-left text or a writing mode where the inline direction is not horizontal.&lt;/p&gt;&#xA;&lt;p&gt;Logical properties describe layout relative to the flow of text. They make components more adaptable without maintaining a second set of directional overrides.&lt;/p&gt;&#xA;&lt;h2 id=&#34;physical-versus-logical-directions&#34;&gt;Physical versus logical directions&lt;/h2&gt;&#xA;&lt;p&gt;In a typical English document, the inline axis runs from left to right and the block axis runs from top to bottom. Logical properties name those axes instead of assuming screen directions.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
