<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>レイアウト &#8211; シゴトノコバコ</title>
	<atom:link href="https://shigoto-no-kobako.com/hashtag/layout/feed/" rel="self" type="application/rss+xml" />
	<link>https://shigoto-no-kobako.com</link>
	<description></description>
	<lastBuildDate>Sat, 21 Nov 2026 03:19:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://shigoto-no-kobako.com/_wp/wp-content/uploads/2023/09/cropped-favicon-32x32.png</url>
	<title>レイアウト &#8211; シゴトノコバコ</title>
	<link>https://shigoto-no-kobako.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>aspect-ratio で画像の比率（アスペクト比）を固定</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/aspect-ratio-image/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Tue, 29 Sep 2026 03:45:55 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=481</guid>

					<description><![CDATA[カード一覧などで画像の高さがバラバラになると、レイアウトが崩れて見えてしまいます。 CSS の aspect-ratio プロパティを使うと、画像や枠の縦横比（アスペクト比）を 1 行で固定できます。 基本のコード HT [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>position: absolute で要素を好きな位置に配置する</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/position-absolute-basic/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Thu, 21 May 2026 04:38:44 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=484</guid>

					<description><![CDATA[CSS で要素を重ねたり、親要素の中で細かく位置を調整したいときは position を使います。 よく使う組み合わせは、親要素に position: relative、子要素に position: absolute を [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>CSS で要素の奇数・偶数を指定（odd/even）</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/css-selector-odd-even/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Wed, 03 Jan 2024 08:48:24 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=165</guid>

					<description><![CDATA[CSS では :nth-child() や :nth-of-type() といった擬似クラスを使うと、並んでいる要素を奇数・偶数で指定することができます。 例えば、 1・3・5 は背景グレー、2・4・6 は背景ホワイトと [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>要素を上下左右中央に配置する［flex］</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/element-center-flex/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Wed, 03 Jan 2024 07:10:00 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=158</guid>

					<description><![CDATA[親要素に display: flex を使い、子要素を画面や親要素の「上下左右中央（ど真ん中）」に配置する方法です。 モーダルウィンドウやファーストビューのキャッチコピーなど、領域の真ん中に要素を置きたいときに頻繁に使用 [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>要素を左右中央に配置する［flex］</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/element-center-left-right-flex/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Wed, 03 Jan 2024 07:05:00 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=275</guid>

					<description><![CDATA[親要素に display: flex と justify-content: center を指定して、子要素を水平方向（左右中央）に配置する方法です。 従来の margin: 0 auto と違い、子要素に幅（width [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>要素を上下中央に配置する［flex］</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/element-center-top-bottom-flex/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Wed, 03 Jan 2024 07:00:07 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=157</guid>

					<description><![CDATA[親要素に display: flex と align-items: center を指定して、子要素を垂直方向（上下中央）に配置する方法です。 基本のコード HTML CSS align-items は交差軸（デフォルト [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>要素を左右中央（センター）に配置する［margin］</title>
		<link>https://shigoto-no-kobako.com/hikidashi/css/element-center-left-right-margin/</link>
		
		<dc:creator><![CDATA[シゴトノコバコ]]></dc:creator>
		<pubDate>Wed, 03 Jan 2024 06:36:27 +0000</pubDate>
				<guid isPermaLink="false">https://shigoto-no-kobako.com/?post_type=hikidashi&#038;p=156</guid>

					<description><![CDATA[CSS で要素を左右中央（左右センター）に配置する方法はいくつかありますが、ここでは昔からある margin での指定方法を紹介します。 margin の左、右に auto を指定するとセンターに配置されます。 対象は、 [&#8230;]]]></description>
		
		
		
			</item>
	</channel>
</rss>
