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

<channel>
	<title>スタイルシートマニア</title>
	<atom:link href="http://source-marine.net/css-mania/feed" rel="self" type="application/rss+xml"/>
	<link>http://source-marine.net/css-mania</link>
	<description>CSSで自由にホームページをデザイン</description>
	<lastBuildDate>Thu, 06 Nov 2014 02:42:27 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.7.29</generator>
	<xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item>
		<title>jQueryで作るナビゲーション</title>
		<link>http://source-marine.net/css-mania/archives/1352</link>
		<comments>http://source-marine.net/css-mania/archives/1352#respond</comments>
		<pubDate>Wed, 01 Oct 2014 11:04:46 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ナビゲーション]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1352</guid>
		<description><![CDATA[すごく久方ぶりの更新です。 最近、企画だけやたらと盛り上がって自分のやるべきことをしないまま、最終的に無駄なものを作らされて、おもいっきり振り回されたあげく、ちゃんとお金を払わない人間にだまされてる今日この頃です。 こう [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>すごく久方ぶりの更新です。<br />
最近、企画だけやたらと盛り上がって自分のやるべきことをしないまま、最終的に無駄なものを作らされて、おもいっきり振り回されたあげく、ちゃんとお金を払わない人間にだまされてる今日この頃です。<br />
こういう人間を見分けるにはどうしたらいいんでしょう！</p>
<p>そんなことはさておき！最近ナビゲーションのデザインやらレスポンシブルやらで悩んでいるときに見つけた便利なjQueryです。</p>
<h2>Slidebars</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slidebars1.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1353" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slidebars1.jpg" alt="slidebars1" width="589" height="318" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slidebars1.jpg 589w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/slidebars1-300x161.jpg 300w" sizes="(max-width: 589px) 100vw, 589px" /></a></p>
<p>横からにょきっと出てくるサイドバーです。<br />
スマホサイトによさそうですね！</p>
<p><a class="shortc-button" href="http://plugins.adchsm.me/slidebars/" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/christophery/pushy" target="_blank">Source</a></p>
<h2>Pushy</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/pushy.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1361" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/pushy.jpg" alt="" width="591" height="367" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/pushy.jpg 591w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/pushy-300x186.jpg 300w" sizes="(max-width: 591px) 100vw, 591px" /></a></p>
<p>こちらも横からにょきっと出るタイプ。<br />
注目すべきはコンテンツ部分にブラックのオーバレイをかけてナビゲーションを目立たせる優れ物！</p>
<p><a class="shortc-button" href="http://www.christopheryee.ca/pushy/" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/christophery/pushy" target="_blank">Source</a></p>
<h2>Slinky.js</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/scroll-js.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1362" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/scroll-js.jpg" alt="" width="501" height="383" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/scroll-js.jpg 501w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/scroll-js-300x229.jpg 300w" sizes="(max-width: 501px) 100vw, 501px" /></a><br />
THE なぞ！(笑)<br />
スクロールすると見出し部分が付いてきます。<br />
だ・け・ど！肝心のリンクがないのはなぜだ！<br />
っというか、こんな感じでスクロールするごとにこんだけ積み重なったら見える部分がなくなって余計使いにくいし！(笑)<br />
まあ、リンクは入れればいいと思うけど、もっとも使えないブラウザIEで使えないという(笑)<br />
いよいよダメです！<br />
まあ、たまにはこんなのもね！</p>
<p><a class="shortc-button" href="http://slinky.iclanzan.com/" target="_blank">Demo</a></p>
<h2>jQuery pop menu</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/popup-menu.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1364" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/popup-menu.jpg" alt="" width="563" height="355" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/popup-menu.jpg 563w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/popup-menu-300x189.jpg 300w" sizes="(max-width: 563px) 100vw, 563px" /></a></p>
<p>これは素晴らしい！<br />
こういうポップアップナビをやりたかったんですよ！<br />
<a class="shortc-button" href="http://gucheen.github.io/jQueryPopMenu/" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/gucheen/jQueryPopMenu" target="_blank">Source</a></p>
<h2>jQuery Square Menu</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/square-menu.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1366" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/square-menu.jpg" alt="" width="590" height="315" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/square-menu.jpg 590w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/square-menu-300x160.jpg 300w" sizes="(max-width: 590px) 100vw, 590px" /></a><br />
すごい！けど！何か足りない！<br />
そんな感じの一品。</p>
<p><a class="shortc-button" href="http://www.thepetedesign.com/demos/square_menu_demo.html" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/peachananr/square_menu" target="_blank">Source</a></p>
<h2>Perspective page view navigation</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/perspective-menu.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1368" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/perspective-menu.jpg" alt="" width="589" height="320" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/perspective-menu.jpg 589w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/perspective-menu-300x162.jpg 300w" sizes="(max-width: 589px) 100vw, 589px" /></a></p>
<p>どこかWindows8を彷彿とさせるように感じるのは僕だけでしょうか？<br />
だけど、なかなかかっこいいです。<br />
使いようによってはいい仕事しそう！<br />
元に戻りたい時に表示されているスクリーンをクリックすると戻れるというのが分かりにくいかなぁっというのはありますが、こういうの好きです！</p>
<p><a class="shortc-button" href="http://tympanus.net/Development/PerspectivePageViewNavigation/index3.html" target="_blank">Deomo</a> | <a class="shortc-button" href="http://tympanus.net/codrops/2013/12/18/perspective-page-view-navigation/" target="_blank">Source</a></p>
<h3>Naver</h3>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/naver.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1371" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/naver.jpg" alt="" width="391" height="214" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/naver.jpg 391w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/naver-300x164.jpg 300w" sizes="(max-width: 391px) 100vw, 391px" /></a><br />
一見なんの変哲もないただのナビゲーションですが、実はレスポンシブ対応で縮小すると自動的にナビゲーションがスマホサイズ仕様になります。<br />
これはコーディングが楽ですね！</p>
<p><a class="shortc-button" href="http://formstone.it/components/Naver/demo/index.html">Demo</a> | <a class="shortc-button" href="https://github.com/benplum/Naver">Source</a></p>
<h2>SlickNav</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slicknav.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1373" src="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slicknav.jpg" alt="" width="449" height="384" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/09/slicknav.jpg 449w, http://source-marine.net/css-mania/wp-content/uploads/2014/09/slicknav-300x256.jpg 300w" sizes="(max-width: 449px) 100vw, 449px" /></a></p>
<p>スマホ用のナビゲーションです。<br />
びよんびよんっとなるギミックが楽しいスクリプトですね。</p>
<p><a class="shortc-button" href="http://slicknav.com/" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/ComputerWolf/SlickNav" target="_blank">Source</a></p>
<h2>SlimMenu</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/10/slimmenu.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1380" src="http://source-marine.net/css-mania/wp-content/uploads/2014/10/slimmenu.jpg" alt="" width="598" height="169" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/10/slimmenu.jpg 598w, http://source-marine.net/css-mania/wp-content/uploads/2014/10/slimmenu-300x84.jpg 300w" sizes="(max-width: 598px) 100vw, 598px" /></a></p>
<p>階層メニューが横に広がるタイプのナビゲーション。<br />
確かに縦に長くなると少々うっとうしい感じになるので、スリムに見えますね。<br />
しかし、階層が深くなりすぎて横にはいりきらなくなったらどうなるのでしょう！</p>
<p><a class="shortc-button" href="http://adnantopal.github.io/slimmenu/" target="_blank">Demo</a> | <a class="shortc-button" href="http://adnantopal.github.io/slimmenu/" target="_blank">Source</a></p>
<h2>Horizontal Nav</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/10/horizontal-nav1.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1383" src="http://source-marine.net/css-mania/wp-content/uploads/2014/10/horizontal-nav1.jpg" alt="" width="591" height="230" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/10/horizontal-nav1.jpg 591w, http://source-marine.net/css-mania/wp-content/uploads/2014/10/horizontal-nav1-300x116.jpg 300w" sizes="(max-width: 591px) 100vw, 591px" /></a></p>
<p>横幅いっぱいに伸びて適度に各横幅を調整してくれるスクリプト<br />
レスポンシブまで対応してたらよかったのかも・・・。</p>
<p><a class="shortc-button" href="http://sebnitu.github.io/HorizontalNav/" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/sebnitu/HorizontalNav" target="_blank">Source</a></p>
<h2>Mmenu</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/10/mmenu1.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1385" src="http://source-marine.net/css-mania/wp-content/uploads/2014/10/mmenu1.jpg" alt="" width="447" height="339" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/10/mmenu1.jpg 447w, http://source-marine.net/css-mania/wp-content/uploads/2014/10/mmenu1-300x227.jpg 300w" sizes="(max-width: 447px) 100vw, 447px" /></a></p>
<p>こちらもスマホで使えそうな横からにょきっと出てくるナビゲーションスクリプト。<br />
スワイプ対応でスマホサイトにはなかなかよさそう。<br />
カスタマイズも簡単と書いているが、どうでしょう？</p>
<p><a class="shortc-button" href="http://designscrazed.org/jquery-navigation-plugins-menus/" target="_blank">Source</a></p>
<h2>Sidr</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/10/sidr1.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1387" src="http://source-marine.net/css-mania/wp-content/uploads/2014/10/sidr1.jpg" alt="" width="401" height="439" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/10/sidr1.jpg 401w, http://source-marine.net/css-mania/wp-content/uploads/2014/10/sidr1-274x300.jpg 274w" sizes="(max-width: 401px) 100vw, 401px" /></a></p>
<p>これは過去に使ったことがあるスクリプトですね。<br />
なかなか良いんだけど、古いアンドロイドは未対応でした。</p>
<h2>Menu Aim</h2>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2014/10/menu-aim.jpg" rel="lightbox[1352]" title="jQueryで作るナビゲーション"><img class="alignnone size-full wp-image-1388" src="http://source-marine.net/css-mania/wp-content/uploads/2014/10/menu-aim.jpg" alt="" width="591" height="317" srcset="http://source-marine.net/css-mania/wp-content/uploads/2014/10/menu-aim.jpg 591w, http://source-marine.net/css-mania/wp-content/uploads/2014/10/menu-aim-300x160.jpg 300w" sizes="(max-width: 591px) 100vw, 591px" /></a></p>
<p>こちらは、カーソルを合わせるとサムネイルが出てくるスクリプト。<br />
すごいけど、多分使えない！<br />
スマホにも対応みたいになっているけど、タップした時の挙動を確認していないので不明。<br />
っというか、スマホはタップした時点でページ飛んじゃうからね。</p>
<p><a class="shortc-button" href="https://rawgithub.com/kamens/jQuery-menu-aim/master/example/example.html" target="_blank">Demo</a> | <a class="shortc-button" href="https://github.com/kamens/jQuery-menu-aim" target="_blank">Source</a></p>
<h2>まとめ</h2>
<p>スマホサイトで使うならjQuery pop menuやSlidebarsがよさげですね。<br />
個人的にはPerspective page view navigationも使いようによってはいい感じがしそうな気がします。</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1352/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS で3D BOX</title>
		<link>http://source-marine.net/css-mania/archives/1333</link>
		<comments>http://source-marine.net/css-mania/archives/1333#respond</comments>
		<pubDate>Wed, 04 Sep 2013 11:15:05 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[3D BOX]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1333</guid>
		<description><![CDATA[どうタイトルをつけたものか迷いましたが、読んで字のごとくCSSで3Dつくるやつです。 少し前まではこういったことはFlashの十八番だったんですが、もはやCSSとHTMLで出来る時代になってしまいました。 まあ、やる人が [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2013/09/3DShadingWithBoxShadows.jpg" rel="lightbox[1333]" title="CSS で3D BOX"><img class="alignnone size-full wp-image-1334" alt="" src="http://source-marine.net/css-mania/wp-content/uploads/2013/09/3DShadingWithBoxShadows.jpg" width="580" height="315" srcset="http://source-marine.net/css-mania/wp-content/uploads/2013/09/3DShadingWithBoxShadows.jpg 580w, http://source-marine.net/css-mania/wp-content/uploads/2013/09/3DShadingWithBoxShadows-300x162.jpg 300w, http://source-marine.net/css-mania/wp-content/uploads/2013/09/3DShadingWithBoxShadows-500x271.jpg 500w" sizes="(max-width: 580px) 100vw, 580px" /></a></p>
<p>どうタイトルをつけたものか迷いましたが、読んで字のごとくCSSで3Dつくるやつです。<br />
少し前まではこういったことはFlashの十八番だったんですが、もはやCSSとHTMLで出来る時代になってしまいました。<br />
まあ、やる人がやればゲームまで作ってしまうみたいです。</p>
<p><a href="http://tympanus.net/Tutorials/3DShadingWithBoxShadows/" target="_blank">デモ</a></p>
<p><a href="http://tympanus.net/Tutorials/3DShadingWithBoxShadows/3DShadingWithBoxShadows.zip" target="_blank">ダウンロード</a></p>
<p>かなりお手軽ですごくて、こういったものは大好きですが、これはこれで少々使い処が難しそうですね。<br />
いつか使う日がくるかもということで。</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1333/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE10だけに効かせたい！</title>
		<link>http://source-marine.net/css-mania/archives/1330</link>
		<comments>http://source-marine.net/css-mania/archives/1330#respond</comments>
		<pubDate>Sun, 11 Aug 2013 12:33:52 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[IE対策]]></category>
		<category><![CDATA[IE10]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1330</guid>
		<description><![CDATA[はい！またまたやってきました！ 僕の大っきらいなIE！ 普段あまり使わないでいたらいつの間にかOSのマイナーバージョンアップと一緒にIEがバージョン10に上がっていました。 まあ、そのあたりはほっといてもいいんです。 つ [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>はい！またまたやってきました！<br />
僕の大っきらいなIE！</p>
<p>普段あまり使わないでいたらいつの間にかOSのマイナーバージョンアップと一緒にIEがバージョン10に上がっていました。<br />
まあ、そのあたりはほっといてもいいんです。<br />
ついでにVideoタグも使えるようになっていたのでやっと普通のブラウザに追いついてきたかな？っと思いきや！<br />
やっぱりでました！自分勝手なIEの挙動！<br />
バージョンアップするたびに、挙動を変える方がめんどくさいと思うんですけどね。<br />
そんなこんなで、IE10対策です。</p>
<p>今回からなんと！</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;!--[if IE ]&gt;
ＩＥだけのスタイル
&lt;![endif]--&gt;
</pre>
<p>っというのが使えなくなっているのです！<br />
もぉー、あほというかなんというか。<br />
まあ、嘆いていてもしょうがないので先へ進みましょう。</p>
<p>色々調べてみましたが、ちゃんと効いたのがこれ！</p>
<p>まず、javascriptを追加。</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">
var doc = document.documentElement;
doc.setAttribute(&#039;data-useragent&#039;, navigator.userAgent);
</pre>
<p>これを入れると、IE10だけに</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;html data-useragent=&quot;Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)&quot;&gt;
</pre>
<p>というのが追加されます。</p>
<p>後はcssで</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">
html[data-useragent*=&#039;MSIE 10.0&#039;] #promotion {
  backgroudn: none;
}
</pre>
<p>ってしてしまえば解決！</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1330/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jazz up a Static Webpageの使い方</title>
		<link>http://source-marine.net/css-mania/archives/1316</link>
		<comments>http://source-marine.net/css-mania/archives/1316#respond</comments>
		<pubDate>Sat, 16 Feb 2013 10:59:13 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Jazz up a Static Webpage]]></category>
		<category><![CDATA[使い方]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1316</guid>
		<description><![CDATA[以前、オシャレなヘッダ画像の演出ができるJazz up a Static Webpageでご紹介したJazz up a Static Webpageの使い方。 正式名称はどうなのかわかりません！実は！(笑) そんなことは [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>以前、<a href="http://source-marine.net/css-mania/archives/1240" title="オシャレなヘッダ画像の演出ができるJazz up a Static Webpage" target="_blank">オシャレなヘッダ画像の演出ができるJazz up a Static Webpage</a>でご紹介したJazz up a Static Webpageの使い方。<br />
正式名称はどうなのかわかりません！実は！(笑)</p>
<p>そんなことはさておき、中身に入って行きましょう。</p>
<p>このスクリプトはｊQuery等の外部ライブラリは使わないです。<br />
スクリプトの読み込みは本体のプログラムとプログラムを走らせる関数を書くだけ。</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/skrollr.js&quot;&gt;&lt;/script&gt;	
&lt;script type=&quot;text/javascript&quot;&gt;
skrollr.init({
	forceHeight: false
});
&lt;/script&gt;
</pre>
<p>意外と簡単！</p>
<p>そして、HTMLこちら</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;header class=&quot;band&quot; data-0=&quot;background-position:0px 0px;&quot; data-500=&quot;background-position:0px -250px;&quot;&gt;
	
&lt;div class=&quot;container&quot;&gt;
	
&lt;div class=&quot;columns sixteen&quot; data-0=&quot;opacity: 1&quot; data-180=&quot;opacity: 0&quot;&gt;
						
&lt;h1&gt;Meaningless Pap&lt;/h1&gt;
				
&lt;a class=&quot;button&quot; href=&quot;http://webdesign.tutsplus.com/author/ian-yates/&quot;&gt;by Ian Yates&lt;/a&gt;
			
&lt;/div&gt;&lt;!--/ columns--&gt;	
		
&lt;/div&gt;&lt;!--/ container--&gt;		
	
&lt;/header&gt;&lt;!--/ band--&gt;
</pre>
<p>このサンプルの構造上スクリプトが働く部分がヘッダになるので&lt;header&gt;で書いていますが、別にこの部分は&lt;div&gt;でも問題ないです。<br />
そして、この&lt;header&gt;に書いてある物が重要なのです。<br />
「data-0=&quot;background-position:0px 0px;&quot;」が背景の基準点。<br />
「data-500=&quot;background-position:0px -250px;&quot;&gt;」がdata-500でbackground-position:0px -250px;にしますということ。</p>
<p>これと同じく、&lt;div class=&quot;columns sixteen&quot; data-0=&quot;opacity: 1&quot; data-180=&quot;opacity: 0&quot;&gt;の中でやっていることが以下。<br />
「data-0=&quot;opacity: 1&quot;」で透過の度合いを設定（これは1）<br />
「&quot; data-180=&quot;opacity: 0&quot;&gt;」がdata-180でopacity: 0にしますということ。</p>
<p>この辺が扱えれば自由にあつかえると思います。<br />
この場合背景が下がって、文字がフェードアウトしていきますけど、その逆で上がってきてフェードインしたり使い方しだいではいろんなところに仕掛けを作ることができそうです。</p>
<p>そして、CSS！<br />
サンプルのCSSはやたらと色々書いていますが、肝心なのは以下。</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">
header.band {
	background-image:url(../img/background.jpg);
	background-size:100%
}
</pre>
<p>ここで背景を指定して枠ぎりぎりに画像を拡大しているんです。<br />
ここの背景がdata-500=&quot;background-position:0px -250px;&quot;&gt;で動いているということです。</p>
<p>これでちょっと変わったヘッダの演出が自由自在にできるはず！<br />
が、しかーし！予測はしていたけど、iPadやらスマホやらで見ると動きがカクカクする上にサイズが変化するので見栄えが非常に悪い！（まあ、サイズに関してはFuid Glid Layoutにすればなんとかなりそう）<br />
この人たちには適用されないように工夫。</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">
if (navigator.userAgent.indexOf(&#039;iPhone&#039;) &gt; 0 || navigator.userAgent.indexOf(&#039;iPad&#039;) != -1 || navigator.userAgent.indexOf(&#039;iPod&#039;) &gt; 0 || navigator.userAgent.indexOf(&#039;Android&#039;) &gt; 0) {
	 jQuery(&#039;div.band&#039;).css( &#039;background-position&#039;,&#039;0px 0&#039;);
	}else {
		skrollr.init({forceHeight: false});
}
</pre>
<p>これは何をやっているかというと、iPhone・iPad・iPod・Android端末だったらdiv.bandの背景位置を別途指定して、それ以外だったら（PCのみ）通常営業しますっということをやっています。<br />
iPadでは検証済みですが、その他はわかりません！<br />
まあ、この中の値をゴニョゴニョすればなんとかなると思います。<br />
ちなみに、Androidのタブレットとスマホを見分けるには「mobile」と指定するとできるとな！<br />
あっ！これはjQuery使ってやってるからこの技を使うならjQueryの読み込みを忘れずに！</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1316/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressでAdobe Edge Animateを取り入れる</title>
		<link>http://source-marine.net/css-mania/archives/1312</link>
		<comments>http://source-marine.net/css-mania/archives/1312#respond</comments>
		<pubDate>Fri, 08 Feb 2013 03:36:26 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Adobe Edge Animate]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1312</guid>
		<description><![CDATA[これはなかなか使えそうな感じがしますね。]]></description>
				<content:encoded><![CDATA[<p><iframe title='AdobeTV video player' width='515' height='296' src='http://tv.adobe.com/embed/1011/16083/' frameborder='0' allowfullscreen scrolling='no'></iframe></p>
<p>これはなかなか使えそうな感じがしますね。</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1312/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Feed APIでRSS情報をサイトに表示（基本編 2）</title>
		<link>http://source-marine.net/css-mania/archives/1286</link>
		<comments>http://source-marine.net/css-mania/archives/1286#respond</comments>
		<pubDate>Tue, 05 Feb 2013 11:40:15 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Google Feed API]]></category>
		<category><![CDATA[RSS情報]]></category>
		<category><![CDATA[サイト]]></category>
		<category><![CDATA[基本編]]></category>
		<category><![CDATA[表示]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1286</guid>
		<description><![CDATA[今回は具体的に少し動かしてみようと思います。 まず、基本系 google.load(&#34;feeds&#34;, &#34;1&#34;); function initialize(){ // RSSの中身を [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>今回は具体的に少し動かしてみようと思います。<br />
まず、基本系</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">google.load(&quot;feeds&quot;, &quot;1&quot;);
function initialize(){
// RSSの中身を解析して表示する処理
}
google.setOnLoadCallback(initialize);</pre>
<p>次に読み込むRSSを指定</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">var feed = new google.feeds.Feed(&quot;http://source-marine.net/css-mania/feed&quot;);</pre>
<p>これは、google.feeds.Feed(&#8220;RSSのURL&#8221;);で指定します。</p>
<p>続いて、準備したRSSの情報を呼び出します。</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">feed.load(dispfeed);</pre>
<p>これは、先ほどgoogle.feeds.Feed(&#8220;RSSのURL&#8221;);で取得した情報を「var feed」に格納して、これを元にRSSの中の情報を「feed.load(関数)」で読み込んで後で作る関数で処理をしています。<br />
これで前準備は完了！</p>
<p>まだ、RSSが取得できなかった時の処理やらなんやらありますが、その辺はまた後でやるとして(^^;<br />
feed.load(dispfeed);で書いたdispfeedという関数の処理を作って行きます。</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">function dispfeed(result){
var htmlstr = &quot;&quot;;
for (var i = 0; i &lt; result.feed.entries.length; i++) {
　var entry = result.feed.entries[i];
　htmlstr += &#039;&lt;a href=&quot;&#039; + entry.link + &#039;&quot;&gt;&#039; + entry.title + &#039;&lt;/a&gt;&#039;;
 　}
container.innerHTML = htmlstr;
}</pre>
<p>まずは、「for() {　}」っというループ処理。<br />
これは、僕も勉強し始めた時に相当悩まされました。<br />
分かってしまうと意外と簡単なんです。</p>
<p>これは「for(数字宣言（変数宣言）;iがループする回数以下なら;＋１){実行する処理}を繰り返しやります」っというのを書いています。<br />
「var i = 0」で「i」は0からスタートしますよー。<br />
「 i &lt; result.feed.entries.length;」で「result.feed.entries.length」が「i」の数以下ならっという条件<br />
「i++」で「i」にプラス１する。<br />
っということです。<br />
「result.feed.entries.length」っというのがRSSにある記事（以下、エントリ）の数を数えてくれています。<br />
これは「配列等など.length」っという形でその中にいくつあるか？っというのを数える時に使えたりします。<br />
まあ、簡単に書いてしまうなら「for(var i = 0; i &lt; 10; i++)」っという事ですね。<br />
ただ、毎回「 i &lt; 10」の部分を人間が数えていたらあほくさいので「result.feed.entries.length」という関数を使ってループ回数を決めているわけです。</p>
<p>そして、ここからが重要な部分になってきます。<br />
「var entry = result.feed.entries[i];」っというのは、いくつかあるエントリを一つ一つ分解してタイトルやリンク先の情報を入れているんです。<br />
「[i]」っというのはループ回数の「i」ですね。<br />
だからこれは、一つ目のエントリの情報を「result.feed.entries[1]」で取得して「var entry」に入れているわけです。（正確には、0からスタートするので二つ目）<br />
そして、「entry.title」でタイトルを表示して「 entry.link」でリンク先を表示するということです。<br />
多分これでもわからない人にはわからないんだろうなぁ・・・。（僕がそうでした。）<br />
まあ、使っていくうちに分かれば大丈夫！<br />
そんでもってしれーっっと「var htmlstr = &#8220;&#8221;」頭の方で宣言した「htmlstr」！<br />
「htmlstr +=」で先ほどせっせと作った「'&lt;a href=&#8221;&#8216; + entry.link + &#8216;&#8221;&gt;&#8217; + entry.title + &#8216;&lt;/a&gt;&#8217;」を継ぎ足し継ぎ足し入れて行っているわけです。<br />
そして、最後に「container.innerHTML = htmlstr;」で表示っという構造になっているのです。</p>
<p>まとめると</p>
<pre class="brush: javascript; gutter: true; first-line: 1; highlight: []; html-script: false">google.load(&quot;feeds&quot;, &quot;1&quot;);
function initialize(){
var feed = new google.feeds.Feed(&quot;http://source-marine.net/css-mania/feed&quot;); 
feed.load(dispfeed); 
function dispfeed(result){ 
var htmlstr = &quot;&quot;; 
for (var i = 0; i &lt; result.feed.entries.length; i++) { 　
var entry = result.feed.entries[i]; 　
htmlstr += &#039;&lt;a href=&quot;&#039; + entry.link + &#039;&quot;&gt;&#039; + entry.title + &#039;&lt;/a&gt;&#039;; 　
}//for End 
container.innerHTML = htmlstr; 
}//dispfeed End 
}//initialize End 
google.setOnLoadCallback(initialize);</pre>
<p>これでとりあえず完成です。<br />
サンプル：<a href="http://source-marine.net/css-mania/sample/feedapi/sample01.html" target="_blank">http://source-marine.net/css-mania/sample/feedapi/sample01.html</a></p>
<p>書いててこんな壮大なお話になるとは思わなかった（笑）</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1286/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Feed APIでRSS情報をサイトに表示（基本編）</title>
		<link>http://source-marine.net/css-mania/archives/1275</link>
		<comments>http://source-marine.net/css-mania/archives/1275#respond</comments>
		<pubDate>Mon, 04 Feb 2013 11:34:10 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Google Feed API]]></category>
		<category><![CDATA[RSS情報]]></category>
		<category><![CDATA[サイト]]></category>
		<category><![CDATA[基本編]]></category>
		<category><![CDATA[表示]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1275</guid>
		<description><![CDATA[だんだん大元のCSSについて語るというところから徐々に離れてきているような気がしている今日この頃ですが、そのあたりは気にしない方向でいきたいと思います。 そんなことはさておき！RSSとは！ RSSは、ニュースやブログなど [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>だんだん大元のCSSについて語るというところから徐々に離れてきているような気がしている今日この頃ですが、そのあたりは気にしない方向でいきたいと思います。<br />
そんなことはさておき！RSSとは！</p>
<blockquote><p>RSSは、ニュースやブログなど各種のウェブサイトの更新情報を簡単にまとめ、配信するための幾つかの文書フォーマットの総称である。</p></blockquote>
<p>※Wikipediaより抜粋</p>
<p>っということなんですが、要するにサイトの更新情報を発信するための一つの道具っと思ってもらっていいんじゃないかと思います。<br />
一時期は大流行してRSSで情報収集している人もいたようないなかったような・・・。<br />
僕の大っきらいな、IEにもRSS取得して更新情報を一覧で見れるっというような機能もありました。<br />
このRSSをちょこちょこっと更新してサーバにアップロードしておくと、RSSを購読しているユーザーに更新情報が送られていち早くそこの情報を得る事ができるっというものです。</p>
<p>今回はこのRSSから情報を取得して更新情報に表示してしまおうじゃないかっというお話です。これができれば、RSSを更新するだけで全てが更新されるので、いちいちRSSを更新してサイトの更新情報を同じように更新なんて手間も省けてしまいます。</p>
<p>まずは準備</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;script type=&quot;text/javascript&quot; src=&quot;https://www.google.com/jsapi&quot;&gt;&lt;/script&gt;
</pre>
<p>これであらかじめGoogleのスクリプトを読み込みます。</p>
<p>次にGoogleのスクリプトで何を使うか？っという指定。<br />
今回はFeedを読み込むわけですから「Feed」を指定します。</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
&lt;script type=&quot;text/javascript&quot;&gt;
google.load(&quot;feeds&quot;, &quot;1&quot;);
&lt;/script&gt;
</pre>
<p>ちなみに「&#8221;feeds&#8221;, &#8220;1&#8221;」の&#8221;1&#8243;はバージョンを指定しています。（あんまり気にしなくてもOK）</p>
<p>そしてこのスクリプトの基本的な流れですが、ここから先でRSSの中身を解析して表示する関数を用意します。そして、その関数をブラウザが読み込んだ時にgoogle.setOnLoadCallback(関数名);で動きだすように設定します。</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">
google.load(&quot;feeds&quot;, &quot;1&quot;);

function initialize(){
// RSSの中身を解析して表示する処理
}
google.setOnLoadCallback(initialize);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1275/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>古いIEをCSS3に対応させる CSS3 PIE</title>
		<link>http://source-marine.net/css-mania/archives/1250</link>
		<comments>http://source-marine.net/css-mania/archives/1250#respond</comments>
		<pubDate>Sat, 26 Jan 2013 03:20:50 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 PIE]]></category>
		<category><![CDATA[古いIE]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1250</guid>
		<description><![CDATA[これもかなりの勢いで今更ネタですが・・・。 IEみたいに役に立たないものを作るところもあれば、こんな素敵なプログラムを作ってくれる人もいるという。 まあ、そんなことはおいといて。 CSS3では「角丸」や「グラデーション」 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>これもかなりの勢いで今更ネタですが・・・。<br />
IEみたいに役に立たないものを作るところもあれば、こんな素敵なプログラムを作ってくれる人もいるという。<br />
まあ、そんなことはおいといて。</p>
<p>CSS3では「角丸」や「グラデーション」等など、様々なハイパー技が使えるようになりました。<br />
しかし！相も変わらずIEはついて来ていません。<br />
っというか独自路線を爆走しそうな勢いですね。<br />
またまた、話がそれそうになりましたが、そんな偏屈でへなちょこなIEにもハイパーなCSS3を少しだけ対応できるようにしてくれるのがこの「CSS3 PIE」<br />
では、使い方！</p>
<p>っといっても本当に使い方は簡単！</p>
<p>まずはダウンロード<br />
<a href="http://source-marine.net/css-mania/wp-content/uploads/2013/01/trydemo.png" rel="lightbox[1250]" title="古いIEをCSS3に対応させる CSS3 PIE"><img src="http://source-marine.net/css-mania/wp-content/uploads/2013/01/trydemo.png" alt="" width="200" height="150" class="alignnone size-full wp-image-1253" /></a><br />
下記URLへアクセスしてダウンロードをクリック。<br />
<a href="http://css3pie.com/" target="_blank">http://css3pie.com/</a><br />
圧縮ファイルを開いて「PIE.htc」っというファイルをサーバへアップロードしましょう。<br />
この時、アップする場所が意外と重要なのでちゃんとわかる場所へアップします。（適当にアップしたらいけませんよー）<br />
ちなみに僕はCSSフォルダの中に放り込んでいます。</p>
<p>そして、CSSを書きます。<br />
今回はベタベタですがボックスを角丸にしてみます。</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">
.box {
 border: 5px solid #999;
 border-radius: 5px;
 -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
 -o-border-radius: 5px;
 behavior: url(&quot;/css/PIE.htc&quot;);
</pre>
<p>ポイントは behavior: url(&quot;/css/PIE.htc&quot;)です。<br />
さきほど、アップロードする場所が意外と重要と書きましたが、ここを失敗するとうまく動いてくれません。<br />
ここでいえばhttp://source-marine.net/css-mania/css/PIE.htcっというのが設置場所になります。（実際のPathはWordPressなので違いますけど。）<br />
そうすると、スタイルシートマニアはSource Marineのサブフォルダの中で動かしているので「/css-mania/css/PIE.htc」っという書き方になります。<br />
要するに、一番上の階層（ウェブ上から見える）からの位置を指定するということです。<br />
僕は、これでかなりはまりました・・・。<br />
WordPressだったのでなおさらはまりました。<br />
それと、どうしても効かない時はpositionをrelativeに入れると効く事が多いです。</p>
<p>さぁ！これでへなちょこIEにもCSS3を取り入れることができます！<br />
だけど、角丸+グラデーションなどの組み合わせはどうやら出来ない様子。<br />
いつになったら、IEの束縛から逃れられる日がくるのでしょうか・・・。</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1250/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>スマホサイズのナビゲーションを最適化</title>
		<link>http://source-marine.net/css-mania/archives/1263</link>
		<comments>http://source-marine.net/css-mania/archives/1263#respond</comments>
		<pubDate>Fri, 25 Jan 2013 11:10:18 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[スマホサイズ]]></category>
		<category><![CDATA[ナビゲーション]]></category>
		<category><![CDATA[最適化]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1263</guid>
		<description><![CDATA[またまた、最近話題のブラウズサイズに合せてCSSを最適化する「Fluid Grid Layout」に便利なお話。 タブレットやPCサイズなら問題ないんですが、スマホのナビゲーションで困った事はないでしょうか？ 特に一つの [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>またまた、最近話題のブラウズサイズに合せてCSSを最適化する「Fluid Grid Layout」に便利なお話。<br />
タブレットやPCサイズなら問題ないんですが、スマホのナビゲーションで困った事はないでしょうか？<br />
特に一つのソースでマルチにみせるFluid Grid Layoutだと「スマホだけにjQuery Mobileを使うわけにもいかず、ナビゲーションが・・・。」みたいなことを経験している人は少なからず存在していると思います。（僕もその一人です。）<br />
そんなスマホサイズのナビゲーションにお困りの方にはこれ！</p>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2013/01/Big-Menus-Small-Screens-Responsive-Multi-Level-Navigation-Webdesigntuts-.png" rel="lightbox[1263]" title="スマホサイズのナビゲーションを最適化"><img src="http://source-marine.net/css-mania/wp-content/uploads/2013/01/Big-Menus-Small-Screens-Responsive-Multi-Level-Navigation-Webdesigntuts-.png" alt="Big Menus  Small Screens  Responsive  Multi Level Navigation   Webdesigntuts" width="752" height="571" class="alignnone size-full wp-image-1264" srcset="http://source-marine.net/css-mania/wp-content/uploads/2013/01/Big-Menus-Small-Screens-Responsive-Multi-Level-Navigation-Webdesigntuts-.png 752w, http://source-marine.net/css-mania/wp-content/uploads/2013/01/Big-Menus-Small-Screens-Responsive-Multi-Level-Navigation-Webdesigntuts--300x227.png 300w, http://source-marine.net/css-mania/wp-content/uploads/2013/01/Big-Menus-Small-Screens-Responsive-Multi-Level-Navigation-Webdesigntuts--500x379.png 500w" sizes="(max-width: 752px) 100vw, 752px" /></a><br />
Big Menus, Small Screens: Responsive, Multi-Level Navigation</p>
<p>サンプル：<a href="http://source-marine.net/css-mania/sample/tessa-lt-dropdowns/" target="_blank">http://source-marine.net/css-mania/sample/tessa-lt-dropdowns/</a></p>
<p>試すときは、以前の記事でご紹介した<a href="http://source-marine.net/css-mania/archives/1259" title="様々な端末サイズを確認できるViewport Resizer" target="_blank">Resizer</a>を使うと便利です。</p>
<p>仕組みとしては、jQueryでブラウズサイズを取得して768以下だったら、toggleMenuのdisplayをinline-blockで表示させているようです。<br />
時間があれば記事にしようと思います。</p>
<p>ダウンロード：<a href="http://webdesigntutsplus.s3.amazonaws.com/tuts/378_tessa/tessa-lt-dropdowns-21c7868.zip">http://webdesigntutsplus.s3.amazonaws.com/tuts/378_tessa/tessa-lt-dropdowns-21c7868.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1263/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>様々な端末サイズを確認できるViewport Resizer</title>
		<link>http://source-marine.net/css-mania/archives/1259</link>
		<comments>http://source-marine.net/css-mania/archives/1259#comments</comments>
		<pubDate>Thu, 24 Jan 2013 10:46:49 +0000</pubDate>
		<dc:creator><![CDATA[庄野 英朗]]></dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[ユーザビリティー]]></category>
		<category><![CDATA[確認できるViewport Resizer]]></category>
		<category><![CDATA[端末サイズ]]></category>

		<guid isPermaLink="false">http://source-marine.net/css-mania/?p=1259</guid>
		<description><![CDATA[最近ちょくちょくお話のネタになっています、「Fluid Grid Layout」ですが、動作確認をするのにいちいちそれぞれの端末を手にとってリロードか、端末にAdobeが出しているAdobe Edge Inspectを入 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>最近ちょくちょくお話のネタになっています、「Fluid Grid Layout」ですが、動作確認をするのにいちいちそれぞれの端末を手にとってリロードか、端末にAdobeが出しているAdobe Edge Inspectを入れて起動してChromeと同期させて確認するか、ブラウザのサイズを縮めて確認するかのいずれかでの確認だったと思います。<br />
Adobe Edge Inspectはなかなか便利だったんですが、どうもiPadちゃんとの相性がよろしくないようでしょっちゅう落ちるし、サイトの下の方まで確認しようと思ったら結局手にとってスクロールしないといけないし。<br />
方やブラウザを縮めるとChromeでせっかく便利な要素の検証がものすごく使いにくくなるというとっても残念な感じ。<br />
そんなどれもいまいちな感じがぬぐえなかったんですが、このViewport Resizerが全部解決！</p>
<p><a href="http://source-marine.net/css-mania/wp-content/uploads/2013/01/2012102615.png" rel="lightbox[1259]" title="様々な端末サイズを確認できるViewport Resizer"><img src="http://source-marine.net/css-mania/wp-content/uploads/2013/01/2012102615.png" alt="" width="400" height="300" class="alignnone size-full wp-image-1260" srcset="http://source-marine.net/css-mania/wp-content/uploads/2013/01/2012102615.png 400w, http://source-marine.net/css-mania/wp-content/uploads/2013/01/2012102615-300x225.png 300w" sizes="(max-width: 400px) 100vw, 400px" /></a></p>
<p><a href="http://lab.maltewassermann.com/viewport-resizer/" target="_blank">VIEWPORT RESIZER</a></p>
<p>使い方はとっても簡単！<br />
トップ画面の「Click or Bookmark」を文字通りクリックするかブックマークして、後は確認したいサイトに行って先ほどブックマークした「Resizer」をクリックするだけ！<br />
すると、画面上部にぷらんぷらんっとリサイズするアイコンが出てくるのでこれをクリック！<br />
するするっと表示部分がその大きさになって表示具合をチェックできます！<br />
素晴らしい！</p>
<p>更に、デフォルトのサイズ以外にも「BUILD YOUR OWN BOOKMARKLET HERE」で好きなブラウズサイズをクリックしてカスタマイズできるから、様々な端末の確認ができます。AppleのCinema Displayサイズ（2560&#215;1600）なんてのもあるので試しに入れてみると面白いかもしれません。</p>
<p>制作段階ではこれぐらいがお手軽でいいですね。<br />
もちろん最終確認で端末使って確認しましょう！</p>
]]></content:encoded>
			<wfw:commentRss>http://source-marine.net/css-mania/archives/1259/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>