<?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>CSS &#8211; WordPress Memo</title>
	<atom:link href="https://blog.riverforest-wp.info/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.riverforest-wp.info</link>
	<description>WordPress に関する覚え書き</description>
	<lastBuildDate>Fri, 09 May 2025 12:48:52 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://blog.riverforest-wp.info/wp-content/uploads/2018/05/cropped-icon-256x256-1-32x32.png</url>
	<title>CSS &#8211; WordPress Memo</title>
	<link>https://blog.riverforest-wp.info</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>progress タグで五つ星レビューの横棒グラフを作成</title>
		<link>https://blog.riverforest-wp.info/progress-5stars/</link>
		
		<dc:creator><![CDATA[Katsushi Kawamori]]></dc:creator>
		<pubDate>Sun, 19 Apr 2020 01:02:00 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[progress]]></category>
		<category><![CDATA[五つ星]]></category>
		<category><![CDATA[五つ星レビュー]]></category>
		<guid isPermaLink="false">https://blog.riverforest-wp.info/?p=2233</guid>

					<description><![CDATA[はじめに WordPress の話題では無いのですが、以下のプラグインを作成する際に、五つ星表示レビューの横棒グラフを今まで見た事が無い方法で作成しました。それが簡単だったのでシェアします。 コード タイトルの通り、pr [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">はじめに</h3>



<p class="wp-block-paragraph"><strong>WordPress</strong> の話題では無いのですが、以下のプラグインを作成する際に、<strong>五つ星表示レビュ</strong>ーの<strong>横棒グラフ</strong>を今まで見た事が無い方法で作成しました。それが簡単だったのでシェアします。</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3a88641f wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/plugin-stats-view/assets/icon-256x256.png?rev=1866155" alt="Plugin Stats View のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/plugin-stats-view/" class="pluginstatsview-astyle">Plugin Stats View</a></div>
			<div class="pluginstatsview-small">プラグイン情報をブロックあるいはショートコードで表示します。</div>
			<div class="pluginstatsview-small">作者: <a href="https://profiles.wordpress.org/katsushi-kawamori/">Katsushi Kawamori</a></div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>

	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left"><a href="https://wordpress.org/plugins/plugin-stats-view/#reviews" title="5.0(5点満点中)" class="pluginstatsview-astyle">	<span class="pluginstatsview-stars">
					<span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span>
			</span>
	</a>(1)</span>
		<span class="pluginstatsview-card-right">最終更新: 2か月 前</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">5,390ダウンロード</span>
		<span class="pluginstatsview-card-right">検証済み: 7.0</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">ダウンロード: <a href="https://downloads.wordpress.org/plugin/plugin-stats-view.3.14.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2016-01-01</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-05-21 06:46 時点の統計	</div>
</div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/theme-stats-view/assets/icon-256x256.png?rev=2283647" alt="Theme Stats View のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/theme-stats-view/" class="pluginstatsview-astyle">Theme Stats View</a></div>
			<div class="pluginstatsview-small">テーマ情報をブロックあるいはショートコードで表示します。</div>
			<div class="pluginstatsview-small">作者: <a href="https://profiles.wordpress.org/katsushi-kawamori/">Katsushi Kawamori</a></div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>

	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left"><a href="https://wordpress.org/plugins/theme-stats-view/#reviews" title="0.0(5点満点中)" class="pluginstatsview-astyle">	<span class="pluginstatsview-stars">
					<span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span>
			</span>
	</a>(0)</span>
		<span class="pluginstatsview-card-right">最終更新: 2か月 前</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">3,254ダウンロード</span>
		<span class="pluginstatsview-card-right">検証済み: 7.0</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">ダウンロード: <a href="https://downloads.wordpress.org/plugin/theme-stats-view.2.10.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2020-04-14</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-05-21 06:46 時点の統計	</div>
</div>
</div>
</div>



<h3 class="wp-block-heading">コード</h3>



<p class="wp-block-paragraph">タイトルの通り、<strong>progress</strong> タグで作成しました。<strong>progress</strong> 以外の CSS はインラインにしています。</p>



<ul class="wp-block-list"><li>３列（題名、横棒、数）を、inline-block で揃えます。</li><li>progress の、value に割合（％）max に 100 を指定します。<ul><li>コードでは、５行分書いてありますが、プログラムの中で、５ループさせれば簡単です。</li></ul></li><li>progress の CSS は、ブラウザ毎に、異なりますのでコードをみてください。</li></ul>



<p class="codepen" data-height="265" data-theme-id="light" data-default-tab="html,result" data-user="dodesyo312" data-slug-hash="yLYJvRy" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="yLYJvRy">
  <span>See the Pen <a href="https://codepen.io/dodesyo312/pen/yLYJvRy">
  yLYJvRy</a> by Katsushi Kawamori (<a href="https://codepen.io/dodesyo312">@dodesyo312</a>)
  on <a href="https://codepen.io">CodePen</a>.</span>
</p>
<script async="" src="https://static.codepen.io/assets/embed/ei.js"></script>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
