<?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>Black Box &#187; CSS</title>
	<atom:link href="http://www.orz.cc/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.orz.cc</link>
	<description>「アイ」とか「orzccc」とか「Hiro Kanai」とか名乗る男のサイトです。ゲームやウェブサービスを創ったり、声/舞台/映像で役者をしたり。IT起業にまつわる自省と時勢に疲れ、アナログな自己表現に暫く没頭しようとしている。俺たちの自分探しの旅は始まったばかりだ――</description>
	<lastBuildDate>Sat, 28 Jan 2012 16:07:14 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS3 border-radius で曲線を表現</title>
		<link>http://www.orz.cc/css3-border-radius-curve</link>
		<comments>http://www.orz.cc/css3-border-radius-curve#comments</comments>
		<pubDate>Thu, 15 Apr 2010 21:35:52 +0000</pubDate>
		<dc:creator>orzccc</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ゴスロリ]]></category>

		<guid isPermaLink="false">http://orz.cc/?p=291</guid>
		<description><![CDATA[CSS3 の border-radius プロパティを用い、曲線を引いてみた。 結果の画像 赤いリボンがくるっと巻いている感じ。左下角も少し曲げ、左の画像とより自然に繋げている。 CSS ルールと対応環境 h2 { border-right : 24px #D00 double; border-bottom: 5px #B00 double; /* Safari (イマイチ) */ -webkit-border-top-right-radius: 40px; -webkit-border-bottom-right-radius: 90px; -webkit-border-bottom-left-radius: 20px; /* Firefox */ -moz-border-radius: 0 40px 90px 20px; /* Opera, Chrome */ border-radius: 0 40px 90px 20px; } 当然ですが、border-radius プロパティを実装しているブラウザでしか意図した表示にはなりません。現時点では Presto (Opera 10.5)、Gecko (Mozilla Firefox 3.6)、Webkit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.w3.org/TR/css3-background/#the-border-radius" title="CSS Backgrounds and Borders Module Level 3 # 4.4. The ‘border-radius’ properties">CSS3 の border-radius プロパティ</a>を用い、曲線を引いてみた。</p>
<h3>結果の画像</h3>
<div id="attachment_293" class="wp-caption alignnone" style="width: 788px"><a href="/media/black-box-ribbon-border-2010-04-16.png"><img src="/media/black-box-ribbon-border-2010-04-16.png" alt="" title="black-box-ribbon-border-2010-04-16" width="778" height="322" class="size-full wp-image-293" /></a><p class="wp-caption-text">CSS3 border-radius で表現した曲線のリボン</p></div>
<p>赤いリボンがくるっと巻いている感じ。左下角も少し曲げ、左の画像とより自然に繋げている。</p>
<h3>CSS ルールと対応環境</h3>
<pre class="brush:css;">h2
{
   border-right : 24px #D00 double;
   border-bottom:  5px #B00 double;
   /* Safari (イマイチ) */
   -webkit-border-top-right-radius:    40px;
   -webkit-border-bottom-right-radius: 90px;
   -webkit-border-bottom-left-radius:  20px;
   /* Firefox */
   -moz-border-radius:    0 40px 90px 20px;
   /* Opera, Chrome */
   border-radius:         0 40px 90px 20px;
}</pre>
<p>当然ですが、border-radius プロパティを実装しているブラウザでしか意図した表示にはなりません。現時点では Presto (Opera 10.5)、Gecko (Mozilla Firefox 3.6)、Webkit (Google Chrome 2、Safari 4) などです。</p>
<p><ins datetime="2010-04-16T06:42:53+09:00">（独自プロパティの）<q cite="http://b.hatena.ne.jp/vantguarde/20100416#bookmark-20850227" title="はてなブックマーク - vantguarde">prefixなしはprefixありのあとにした方がいいと思う</q>のには賛成なのでそうしました。早く統一されて欲しいなぁ。</ins></p>
<h3>主旨とは関係ないが</h3>
<p>「『ゴスロリスタイル』って言うけど、なんかよくわからないよね、これ」と人に言われて残念な思いをしました。</p>
<p><a href="http://www.amazon.co.jp/%E3%81%84%E3%81%BE%E5%AD%90%E3%81%A9%E3%82%82%E3%81%9F%E3%81%A1%E3%81%AB%E8%82%B2%E3%81%A6%E3%81%9F%E3%81%84%E5%AD%A6%E7%B4%9A%E3%82%BD%E3%83%BC%E3%82%B7%E3%83%A3%E3%83%AB%E3%82%B9%E3%82%AD%E3%83%AB-CSS%E2%80%95%E4%BA%BA%E3%81%A8%E3%81%8B%E3%81%8B%E3%82%8F%E3%82%8A%E3%80%81%E3%81%A8%E3%82%82%E3%81%AB%E7%94%9F%E3%81%8D%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%83%AB%E3%83%BC%E3%83%AB%E3%82%84%E3%83%9E%E3%83%8A%E3%83%BC-%E5%B0%8F%E5%AD%A6%E6%A0%A1%E9%AB%98%E5%AD%A6%E5%B9%B4-%E6%B2%B3%E6%9D%91-%E8%8C%82%E9%9B%84/dp/4810074943%3FSubscriptionId%3DAKIAJHTNTUIGETARFA3A%26tag%3Dorzccc-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4810074943"><img src="http://ecx.images-amazon.com/images/I/51TJCKVGW5L._SL160_.jpg" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.orz.cc/css3-border-radius-curve/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
