<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6301040564099405448</atom:id><lastBuildDate>Wed, 02 Oct 2024 07:16:26 +0000</lastBuildDate><category>css</category><category>ui</category><category>diary</category><category>choreography</category><category>web</category><category>mobile</category><category>music</category><category>疑似要素</category><category>:after</category><category>:before</category><category>poreotics</category><category>design</category><category>cssセレクタ</category><category>inline-block</category><category>navigation</category><category>responsive web design</category><category>tab</category><category>仲宗根梨乃</category><category>漫画</category><category>Can Trong</category><category>Jet Li</category><category>Mike Song</category><category>box-shadow</category><category>breadcrumb</category><category>calendar</category><category>checkbox</category><category>comment</category><category>components</category><category>counter-increment</category><category>disabled</category><category>dropdown</category><category>fashion</category><category>ian eastwood</category><category>jQuery</category><category>krump</category><category>media queries</category><category>messaging</category><category>movie</category><category>ol</category><category>pagination</category><category>quick</category><category>radio button</category><category>recipe</category><category>rotate</category><category>shapes</category><category>soccer</category><category>table-cell</category><category>toggle</category><category>transform</category><category>テンプレート</category><category>バルセロナ</category><category>パンくず</category><category>ピンポン</category><category>ページ送り</category><category>松本大洋</category><title>norm</title><description>I am a freelance web designer.</description><link>http://norm-design.blogspot.com/</link><managingEditor>noreply@blogger.com (norm)</managingEditor><generator>Blogger</generator><openSearch:totalResults>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>I am a freelance web designer.</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-971938383919801475</guid><pubDate>Fri, 04 Apr 2014 16:15:00 +0000</pubDate><atom:updated>2014-05-06T17:38:14.314+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">rotate</category><category domain="http://www.blogger.com/atom/ns#">shapes</category><category domain="http://www.blogger.com/atom/ns#">疑似要素</category><title>[CSS] CSS3 Shapes - Diamond, Hexagon, Point Burst</title><description>&lt;style type="text/css"&gt;
&lt;!--
.post *, .post *:before, .post *:after {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.post img {
 max-height: inherit;
 max-width: none;
}
.demo {
 display:inline-block;
 width:13.5em;
 height:15em;
 vertical-align:top;
 overflow:hidden;
}
/* -------------------- ダイヤ（マスク） -------------------- */
.diamond {
 position:relative;
 top:1em;
 left:2em;
 width:8em;
 height:8em;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 overflow:hidden;
}
.diamond img {
 position:relative;
 top:-3em;
 left:-2em;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
}
/* -------------------- ダイヤ丸（マスク） -------------------- */
.square-rnd {
 border-radius:1em;
}
/* -------------------- 長方形丸（マスク） -------------------- */
.rectangle {
 display:inline-block;
 position:relative;
 top:1.5em;
 left:.5em;
 width:8em;
 height:4em;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 overflow:hidden;
}
.rectangle img {
 position:relative;
 top:-3em;
 left:-2em;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
}
/* -------------------- 六角形 -------------------- */
.hexagon, .hexagon:before, .hexagon:after {
 display: table;
 position: relative;
 top:2em;
 height: 5em;
 width: 8.66em;
 background: #ffde17;
 text-align:center;
 text-transform:uppercase;
 color:#fff;
 z-index: 1;
}
.hexagon:before, .hexagon:after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.hexagon:before {
 -ms-transform: rotate(60deg);
 -webkit-transform: rotate(60deg);
 transform: rotate(60deg);
}
.hexagon:after {
 -ms-transform: rotate(-60deg);
 -webkit-transform: rotate(-60deg);
 transform: rotate(-60deg);
}
.hexagon span {
 display:table-cell;
 vertical-align:middle;
}
/* -------------------- 六角形丸 -------------------- */
.hex-rnd, .hex-rnd:before, .hex-rnd:after {
 border-radius:.3em/.6em;
}
/* -------------------- 六角形（マスク） -------------------- */
.hexagon-mask {
 position:relative;
 top:-4em;
 width: 8.5em;
 height: 17em;
 -webkit-transform: rotate(120deg);
 -ms-transform: rotate(120deg);
 transform: rotate(120deg);
 overflow: hidden;
}
.hexagon-mask &gt; div, .hexagon-mask &gt; div &gt; div {
 width: 100%;
 height: 100%;
 -webkit-transform: rotate(-60deg);
 -ms-transform: rotate(-60deg);
 transform: rotate(-60deg);
 overflow: hidden;
}
.hexagon-mask img {
 position:relative;
 top:.8em;
 left:-.5em;
}
/* -------------------- トゲトゲ 24 -------------------- */
.burst-24 {
 position: relative;
 top:1em;
 left:1.5em;
 text-align: center;
 text-transform:uppercase;
 color:#fff;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 z-index: 1;
}
.burst-24, .burst-24:before, .burst-24:after, .burst-24 &gt; div, .burst-24 &gt; :before, .burst-24 &gt; :after {
 height: 6em;
 width: 6em;
 background: #ffde17;
}
.burst-24:before, .burst-24:after, .burst-24 &gt; div, .burst-24 &gt; :before, .burst-24 &gt; :after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.burst-24:before, .burst-24 &gt; :before {
 -webkit-transform: rotate(15deg);
 -ms-transform: rotate(15deg);
 transform: rotate(15deg);
}
.burst-24:after, .burst-24 &gt; :after {
 -webkit-transform: rotate(30deg);
 -ms-transform: rotate(30deg);
 transform: rotate(30deg);
}
.burst-24 &gt; div {
 display:table;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
 z-index:2;
}
.burst-24 span {
 display:table-cell;
 vertical-align:middle;
}
/* -------------------- トゲ丸 24 -------------------- */
.burst-rnd, .burst-rnd:before, .burst-rnd:after, .burst-rnd div, .burst-rnd div:before, .burst-rnd div:after {
 border-radius: 10px;
}
/* -------------------- トゲトゲ 36 -------------------- */
.burst-36 {
 position: relative;
 top:1em;
 left:1.5em;
 text-align: center;
 text-transform:uppercase;
 color:#fff;
 -webkit-transform: rotate(-60deg);
 -ms-transform: rotate(-60deg);
 transform: rotate(-60deg);
 z-index: 1;
}
.burst-36, .burst-36:before, .burst-36:after, .burst-36 div, .burst-36 div:before, .burst-36 div:after {
 height: 6em;
 width: 6em;
 background: #ffde17;
}
.burst-36:before, .burst-36:after, .burst-36 div, .burst-36 div:before, .burst-36 div:after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.burst-36:before, .burst-36 div:before {
 -webkit-transform: rotate(10deg);
 -ms-transform: rotate(10deg);
 transform: rotate(10deg);
}
.burst-36:after, .burst-36 div:after {
 -webkit-transform: rotate(20deg);
 -ms-transform: rotate(20deg);
 transform: rotate(20deg);
}
.burst-36 div {
 -webkit-transform: rotate(30deg);
 -ms-transform: rotate(30deg);
 transform: rotate(30deg);
 z-index:2;
}
.burst-36 &gt; div &gt; div {
 display:table;
}
.burst-36 span {
 display:table-cell;
 vertical-align:middle;
}
--&gt;
&lt;/style&gt;
 &lt;a name='more'&gt;&lt;/a&gt;
 &lt;p&gt;CSSだけで色々な形をつくる方法です。画像をマスクのように切り取ったようにもできます。角丸やグラーデーションが簡単にCSSでできるようになったように、グラフィックソフトだと簡単につくれるこのような形も将来的に簡単なCSSだけで実現できるようになるかも。border-burst:24;とか。六角形は1:√3（1:1.7320508）の矩形を3つ60度ずつ回転させてつくっているので比率さえ変えなければ、大きさを自由に変えられます。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;ダイヤ（マスク）&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="diamond"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/photo12.jpg" width="250" height="250"&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;ダイヤ丸（マスク）&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="diamond square-rnd"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/photo12.jpg" width="250" height="250"&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;長方形丸（マスク）&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="rectangle square-rnd"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/photo12.jpg" width="250" height="250"&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;六角形&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="hexagon"&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;六角形丸&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="hexagon hex-rnd"&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;六角形（マスク）&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="hexagon-mask"&gt;
   &lt;div&gt;
    &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/photo12.jpg" width="250" height="250"&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;トゲトゲ 24&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="burst-24 "&gt;
   &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;トゲ丸 24&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="burst-24 burst-rnd"&gt;
   &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;トゲトゲ 36&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="burst-36 "&gt;
   &lt;div&gt;
    &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;!-- ===== ダイヤ（マスク） ===== --&gt;
&lt;div class="diamond"&gt;&lt;img src="任意の画像.jpg" width="250" height="250"&gt;&lt;/div&gt;
&lt;!-- ===== ダイヤ丸（マスク） ===== --&gt;
&lt;div class="diamond square-rnd"&gt;&lt;img src="任意の画像.jpg" width="250" height="250"&gt;&lt;/div&gt;
&lt;!-- ===== 長方形丸（マスク） ===== --&gt;
&lt;div class="rectangle square-rnd"&gt;&lt;img src="任意の画像.jpg" width="250" height="250"&gt;&lt;/div&gt;
&lt;!-- ===== 六角形 ===== --&gt;
&lt;div class="hexagon"&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
&lt;!-- ===== 六角形丸 ===== --&gt;
&lt;div class="hexagon hex-rnd"&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
&lt;!-- ===== 六角形（マスク） ===== --&gt;
&lt;div class="hexagon-mask"&gt;
 &lt;div&gt;
  &lt;div&gt;&lt;img src="任意の画像.jpg" width="250" height="250"&gt;&lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;!-- ===== トゲトゲ 24 ===== --&gt;
&lt;div class="burst-24 "&gt;
 &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- ===== トゲ丸 24 ===== --&gt;
&lt;div class="burst-24 burst-rnd"&gt;
 &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- ===== トゲトゲ 36 ===== --&gt;
&lt;div class="burst-36 "&gt;
 &lt;div&gt;
  &lt;div&gt;&lt;span&gt;new&lt;/span&gt;&lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
*, *:before, *:after {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
/* -------------------- ダイヤ（マスク） -------------------- */
.diamond {
 position:relative;
 top:1em;
 left:2em;
 width:8em;
 height:8em;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 overflow:hidden;
}
.diamond img {
 position:relative;
 top:-3em;
 left:-2em;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
}
/* -------------------- ダイヤ丸（マスク） -------------------- */
.square-rnd {
 border-radius:1em;
}
/* -------------------- 長方形丸（マスク） -------------------- */
.rectangle {
 display:inline-block;
 position:relative;
 top:1.5em;
 left:.5em;
 width:8em;
 height:4em;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 overflow:hidden;
}
.rectangle img {
 position:relative;
 top:-3em;
 left:-2em;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
}
/* -------------------- 六角形 -------------------- */
.hexagon, .hexagon:before, .hexagon:after {
 display: table;
 position: relative;
 top:2em;
 height: 5em;
 width: 8.66em;
 background: #ffde17;
 text-align:center;
 text-transform:uppercase;
 color:#fff;
 z-index: 1;
}
.hexagon:before, .hexagon:after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.hexagon:before {
 -ms-transform: rotate(60deg);
 -webkit-transform: rotate(60deg);
 transform: rotate(60deg);
}
.hexagon:after {
 -ms-transform: rotate(-60deg);
 -webkit-transform: rotate(-60deg);
 transform: rotate(-60deg);
}
.hexagon span {
 display:table-cell;
 vertical-align:middle;
}
/* -------------------- 六角形丸 -------------------- */
.hex-rnd, .hex-rnd:before, .hex-rnd:after {
 border-radius:.3em/.6em;
}
/* -------------------- 六角形（マスク） -------------------- */
.hexagon-mask {
 position:relative;
 top:-4em;
 width: 8.5em;
 height: 17em;
 -webkit-transform: rotate(120deg);
 -ms-transform: rotate(120deg);
 transform: rotate(120deg);
 overflow: hidden;
}
.hexagon-mask &gt; div, .hexagon-mask &gt; div &gt; div {
 width: 100%;
 height: 100%;
 -webkit-transform: rotate(-60deg);
 -ms-transform: rotate(-60deg);
 transform: rotate(-60deg);
 overflow: hidden;
}
.hexagon-mask img {
 position:relative;
 top:.8em;
 left:-.5em;
}
/* -------------------- トゲトゲ 24 -------------------- */
.burst-24 {
 position: relative;
 top:1em;
 left:1.5em;
 text-align: center;
 text-transform:uppercase;
 color:#fff;
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
 z-index: 1;
}
.burst-24, .burst-24:before, .burst-24:after, .burst-24 &gt; div, .burst-24 &gt; :before, .burst-24 &gt; :after {
 height: 6em;
 width: 6em;
 background: #ffde17;
}
.burst-24:before, .burst-24:after, .burst-24 &gt; div, .burst-24 &gt; :before, .burst-24 &gt; :after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.burst-24:before, .burst-24 &gt; :before {
 -webkit-transform: rotate(15deg);
 -ms-transform: rotate(15deg);
 transform: rotate(15deg);
}
.burst-24:after, .burst-24 &gt; :after {
 -webkit-transform: rotate(30deg);
 -ms-transform: rotate(30deg);
 transform: rotate(30deg);
}
.burst-24 &gt; div {
 display:table;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
 z-index:2;
}
.burst-24 span {
 display:table-cell;
 vertical-align:middle;
}
/* -------------------- トゲ丸 24 -------------------- */
.burst-rnd, .burst-rnd:before, .burst-rnd:after, .burst-rnd div, .burst-rnd div:before, .burst-rnd div:after {
 border-radius: 10px;
}
/* -------------------- トゲトゲ 36 -------------------- */
.burst-36 {
 position: relative;
 top:1em;
 left:1.5em;
 text-align: center;
 text-transform:uppercase;
 color:#fff;
 -webkit-transform: rotate(-60deg);
 -ms-transform: rotate(-60deg);
 transform: rotate(-60deg);
 z-index: 1;
}
.burst-36, .burst-36:before, .burst-36:after, .burst-36 div, .burst-36 div:before, .burst-36 div:after {
 height: 6em;
 width: 6em;
 background: #ffde17;
}
.burst-36:before, .burst-36:after, .burst-36 div, .burst-36 div:before, .burst-36 div:after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 z-index: -100;
}
.burst-36:before, .burst-36 div:before {
 -webkit-transform: rotate(10deg);
 -ms-transform: rotate(10deg);
 transform: rotate(10deg);
}
.burst-36:after, .burst-36 div:after {
 -webkit-transform: rotate(20deg);
 -ms-transform: rotate(20deg);
 transform: rotate(20deg);
}
.burst-36 div {
 -webkit-transform: rotate(30deg);
 -ms-transform: rotate(30deg);
 transform: rotate(30deg);
 z-index:2;
}
.burst-36 &gt; div &gt; div {
 display:table;
}
.burst-36 span {
 display:table-cell;
 vertical-align:middle;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-table" target="_blank"&gt;CSS Table display&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=transforms2d" target="_blank"&gt;CSS3 Transforms&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2014/04/css-css3-shapes-diamond-hexagon-point.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-3246441590116736531</guid><pubDate>Thu, 03 Apr 2014 18:04:00 +0000</pubDate><atom:updated>2014-04-05T03:06:11.883+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">tab</category><title>[CSS] Pure CSS Tab UI</title><description>&lt;style type="text/css"&gt;
&lt;!--
.demo {
 padding: 1em;
 background:#eee;
}
.tab * {
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.tab {
 position: relative;
 padding: 0;
 height:12.5em;
}
.tab li {
 float:left;
 list-style: none;
 overflow:hidden;
}
.tab input[type=radio] {
 display: none;
}
.tab label {
 display: block;
 padding: .5em 1em;
 background: #ddd;
 cursor: pointer;
}
.tab label:hover {
 background: #ccc;
}
.tab input[type=radio]:checked + label {
 background: #fff;
}
.tab .content {
 visibility:hidden;
 opacity:0;
 filter: alpha(opacity=0);
 position: absolute;
 left: 0;
 padding:1em;
 background: #fff;
 overflow: auto;
 height:10em;
}
.tab .content h3 {
 margin:.5em 0;
}
.tab input[type=radio]:checked + label + .content {
 visibility:visible;
 opacity:1;
 filter: alpha(opacity=100);
}
--&gt;
&lt;/style&gt; 
 &lt;a name='more'&gt;&lt;/a&gt;
 &lt;p&gt;CSSだけで実現させるタブです。ラジオボタンと疑似クラス、隣接セレクタを駆使して実装しています。position:absoluteを使っているので、親要素の高さを決める必要あり。ですが、safariでの挙動がおかしい。なので現時点では実用的ではないですね。まあ、CSSだけでこういうこともできるんだよ程度に。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="demo clearfix"&gt;
  &lt;ul class="tab"&gt;
   &lt;li&gt;&lt;input name="tab" id="tab1" type="radio" checked /&gt;&lt;label for="tab1" onClick=""&gt;tab 1&lt;/label&gt;
    &lt;div class="content"&gt;
     &lt;h3&gt;content 1&lt;/h3&gt;
     &lt;p&gt;Quisque eu pellentesque magna. Nam lacinia porta odio non varius. Fusce lobortis non lacus a semper. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Morbi laoreet arcu in quam blandit aliquet. Nunc diam turpis.&lt;/p&gt;&lt;p&gt;Quisque eu pellentesque magna. Nam lacinia porta odio non varius. Fusce lobortis non lacus a semper. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Morbi laoreet arcu in quam blandit aliquet. Nunc diam turpis.&lt;/p&gt;&lt;p&gt;Quisque eu pellentesque magna. Nam lacinia porta odio non varius. Fusce lobortis non lacus a semper. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Morbi laoreet arcu in quam blandit aliquet. Nunc diam turpis.&lt;/p&gt;
    &lt;/div&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;input name="tab" id="tab2" type="radio"/&gt;&lt;label for="tab2" onClick=""&gt;tab 2&lt;/label&gt;
    &lt;div class="content"&gt;
     &lt;h3&gt;content 2&lt;/h3&gt;
     &lt;p&gt;Curabitur dapibus eu ante nec porttitor. Nunc varius interdum ante, quis auctor elit tristique id. Nullam tortor metus, tincidunt id tellus nec, vulputate pulvinar mi.&lt;/p&gt;
    &lt;/div&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;input name="tab" id="tab3" type="radio"/&gt;&lt;label for="tab3" onClick=""&gt;tab 3&lt;/label&gt;
    &lt;div class="content"&gt;
     &lt;h3&gt;content 3&lt;/h3&gt;
     &lt;p&gt;Integer sed mi vitae tortor convallis aliquet. Donec luctus sapien urna, a mattis mauris auctor in. Maecenas condimentum dolor sit amet dui viverra suscipit.&lt;/p&gt;
    &lt;/div&gt;
   &lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;ul class="tab"&gt;
 &lt;li&gt;&lt;input name="任意" id="tab1" type="radio" checked/&gt;&lt;label for="tab1" onClick=""&gt;tab 3&lt;/label&gt;
  &lt;div class="content"&gt;
   &lt;h3&gt;content 3&lt;/h3&gt;
   &lt;p&gt;テキストテキストテキスト&lt;/p&gt;
  &lt;/div&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;input name="任意" id="tab2" type="radio" checked/&gt;&lt;label for="tab2" onClick=""&gt;tab 3&lt;/label&gt;
  &lt;div class="content"&gt;
   &lt;h3&gt;content 3&lt;/h3&gt;
   &lt;p&gt;テキストテキストテキスト&lt;/p&gt;
  &lt;/div&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;input name="任意" id="tab3" type="radio" checked/&gt;&lt;label for="tab3" onClick=""&gt;tab 3&lt;/label&gt;
  &lt;div class="content"&gt;
   &lt;h3&gt;content 3&lt;/h3&gt;
   &lt;p&gt;テキストテキストテキスト&lt;/p&gt;
  &lt;/div&gt;
 &lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab * {
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.tab {
 position: relative;
 padding: 0;
 height:12.5em;
}
.tab li {
 float:left;
 list-style: none;
 overflow:hidden;
}
.tab input[type=radio] {
 display: none;
}
.tab label {
 display: block;
 padding: .5em 1em;
 background: #ddd;
 cursor: pointer;
}
.tab label:hover {
 background: #ccc;
}
.tab input[type=radio]:checked + label {
 background: #fff;
}
.tab .content {
 visibility:hidden;
 opacity:0;
 filter: alpha(opacity=0);
 position: absolute;
 left: 0;
 padding:1em;
 background: #fff;
 overflow: auto;
 height:10em;
}
.tab .content h3 {
 margin:.5em 0;
}
.tab input[type=radio]:checked + label + .content {
 visibility:visible;
 opacity:1;
 filter: alpha(opacity=100);
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2014/04/css-pure-css-tab-ui.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-4287954475224858247</guid><pubDate>Wed, 02 Apr 2014 20:36:00 +0000</pubDate><atom:updated>2014-04-04T05:37:47.227+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">cssセレクタ</category><category domain="http://www.blogger.com/atom/ns#">dropdown</category><title>[CSS] Pure CSS Dropdown Menu</title><description>&lt;style type="text/css"&gt;
&lt;!--
/* -------------------- 共通 -------------------- */
.menu * {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.menu {
 overflow:hidden;
}
.menu a {
 text-decoration:none;
 color:#fff;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.menu ul, .menu li {
 line-height:1;
 margin:0;
 padding:0;
 list-style:none;
 text-transform:uppercase;
}
.menu &gt; li {
 float:left;
 text-align:center;
}
.menu &gt; li &gt; a, .menu-nest li a {
 display:block;
 width:9em;
 padding:1em;
 background:#506173;
}
.menu &gt; li &gt; ul {
 position:absolute;
 visibility:hidden;
 opacity:0;
 filter: alpha(opacity=0);
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 z-index:100;
 text-align:left;
}
.menu &gt; li:hover ul {
 visibility:visible;
 opacity:1;
 filter: alpha(opacity=100);
}
.menu &gt; li + li {
 border-left:#818D99 1px solid;
}
/* -------------------- A -------------------- */
.demo1 .menu-nest li {
 border-top:#818D99 1px solid;
}
.demo1 .menu &gt; li a:hover {
 background:#818D99;
}
.demo1 .menu &gt; li:first-child &gt; a {
 border-top-left-radius:5px;
}
.demo1 .menu &gt; li:last-child &gt; a {
 border-top-right-radius:5px;
}
.demo1 .menu-nest li:last-child &gt; a {
 border-bottom-right-radius:5px;
 border-bottom-left-radius:5px;
}
/* -------------------- B -------------------- */
.demo2 .menu-nest {
 padding-top:12px;
}
.demo2 .menu &gt; li a:hover {
 background:#818D99;
}
.demo2 .menu &gt; li:first-child &gt; a {
 border-top-left-radius:5px;
 border-bottom-left-radius:5px;
}
.demo2 .menu &gt; li:last-child &gt; a {
 border-top-right-radius:5px;
 border-bottom-right-radius:5px;
}
.demo2 .menu-nest li:first-child &gt; a, .demo2 .menu-nest li:first-child {
 border-top-left-radius:5px;
 border-top-right-radius:5px;
}
.demo2 .menu-nest li:last-child &gt; a, .demo2 .menu-nest li:last-child {
 border-bottom-right-radius:5px;
 border-bottom-left-radius:5px;
}
.demo2 .menu-nest li:first-child {
 position: relative;
}
.demo2 .menu-nest li:first-child:after {
 position: absolute;
 bottom: 100%;
 left: 50%;
 content: " ";
 height: 0;
 width: 0;
 border:8px solid transparent;
 border-bottom:8px solid #506173;
 margin-left:-8px;
}
--&gt;
&lt;/style&gt;
 &lt;a name='more'&gt;&lt;/a&gt;
 &lt;p&gt;transitionを有効にするため『visibility』と『opacity』を使っています。transition効果が必要なければ『display:none』と『display:block』で表示の切替をすればいいです。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="demo demo1"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;ul class="menu"&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 1&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 2&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 3&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 4&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
 &lt;div class="demo demo2"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;ul class="menu"&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 1&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 2&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 3&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt; &lt;a href=""&gt;menu 4&lt;/a&gt;
    &lt;ul class="menu-nest"&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;ul class="menu"&gt;
 &lt;li&gt; &lt;a href=""&gt;menu 1&lt;/a&gt;
  &lt;ul class="menu-nest"&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt; &lt;a href=""&gt;menu 2&lt;/a&gt;
  &lt;ul class="menu-nest"&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt; &lt;a href=""&gt;menu 3&lt;/a&gt;
  &lt;ul class="menu-nest"&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt; &lt;a href=""&gt;menu 4&lt;/a&gt;
  &lt;ul class="menu-nest"&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 1&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 2&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=""&gt;submenu 3&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* -------------------- 共通 -------------------- */
.menu * {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.menu {
 overflow:hidden;
}
.menu a {
 text-decoration:none;
 color:#fff;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.menu ul, .menu li {
 line-height:1;
 margin:0;
 padding:0;
 list-style:none;
 text-transform:uppercase;
}
.menu &gt; li {
 float:left;
 text-align:center;
}
.menu &gt; li &gt; a, .menu-nest li a {
 display:block;
 width:9em;
 padding:1em;
 background:#506173;
}
.menu &gt; li &gt; ul {
 position:absolute;
 visibility:hidden;
 opacity:0;
 filter: alpha(opacity=0);
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 z-index:100;
 text-align:left;
}
.menu &gt; li:hover ul {
 visibility:visible;
 opacity:1;
 filter: alpha(opacity=100);
}
.menu &gt; li + li {
 border-left:#818D99 1px solid;
}
/* -------------------- A -------------------- */
.menu-nest li {
 border-top:#818D99 1px solid;
}
.menu &gt; li a:hover {
 background:#818D99;
}
.menu &gt; li:first-child &gt; a {
 border-top-left-radius:5px;
}
.menu &gt; li:last-child &gt; a {
 border-top-right-radius:5px;
}
.menu-nest li:last-child &gt; a {
 border-bottom-right-radius:5px;
 border-bottom-left-radius:5px;
}
/* -------------------- B -------------------- */
.menu-nest {
 padding-top:12px;
}
.menu &gt; li a:hover {
 background:#818D99;
}
.menu &gt; li:first-child &gt; a {
 border-top-left-radius:5px;
 border-bottom-left-radius:5px;
}
.menu &gt; li:last-child &gt; a {
 border-top-right-radius:5px;
 border-bottom-right-radius:5px;
}
.menu-nest li:first-child &gt; a, .menu-nest li:first-child {
 border-top-left-radius:5px;
 border-top-right-radius:5px;
}
.menu-nest li:last-child &gt; a, .menu-nest li:last-child {
 border-bottom-right-radius:5px;
 border-bottom-left-radius:5px;
}
.menu-nest li:first-child {
 position: relative;
}
.menu-nest li:first-child:after {
 position: absolute;
 bottom: 100%;
 left: 50%;
 content: " ";
 height: 0;
 width: 0;
 border:8px solid transparent;
 border-bottom:8px solid #506173;
 margin-left:-8px;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2014/04/css-pure-css-dropdown-menu.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-8108486173186219292</guid><pubDate>Mon, 31 Mar 2014 22:36:00 +0000</pubDate><atom:updated>2014-04-03T23:09:47.291+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">checkbox</category><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">radio button</category><title>[CSS] Checkboxes and Radio Buttons with CSS and Font Awesome Icons</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;style type="text/css"&gt;
&lt;!--
.demo {
 padding-left:1em;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.numbering span {
 display:inline-block;
 min-width: 1.9em;
 padding:.2em .5em;
 margin-bottom:1em;
 border-radius: 1em;
 background: #E3E7DE;
 font-size:12px;
 color: #44445E;
 text-align:center;
 text-transform: uppercase;
}
/* 共通 */
.demo li {
 margin-bottom:1em;
}
label {
 position:relative;
 display: inline-block;
 line-height:1;
 cursor: pointer;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
label:before, label:after {
 position:relative;
 content: "";
 display: inline-block;
 text-align:center;
 font-family: FontAwesome;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
input[type=checkbox], input[type=radio] {
 display: none;
}
/* -------------------- アイコンの指定のみ -------------------- */
.demo1 label {
 padding-left:1.8em;
}
.demo1 label:before {
 position: absolute;
 top:-.1em;
 left:-.3em;
 width: 1.5em;
 font-size:1.4em;
 color:#c6c6c6;
}
.demo1 input[type=checkbox] + label:before {
 content: "\f096";
}
.demo1 input[type=checkbox]:checked + label:before {
 content: "\f14a";
 color:#409AD5;
}
.demo1 input[type=radio] + label:before {
 content: "\f10c";
}
.demo1 input[type=radio]:checked + label:before {
 content: "\f192";
 color:#409AD5;
}
/* -------------------- CSS + アイコン -------------------- */
.demo2 label {
 padding-left:1.8em;
}
.demo2 label:before {
 position: absolute;
 top:-3px;
 left:0;
 width:1.25em;
 height:1.25em;
 line-height:1.25;
 margin-right:.5em;
 border-radius: 5px;
}
.demo2 input[type=checkbox] + label:before {
 content: "\f00c";
 border:#bebebe 1px solid;
 background:#fff;
 color:rgba(255,255,255,0);
}
.demo2 input[type=checkbox]:checked + label:before {
 content: "\f00c";
 border:#24A592 1px solid;
 background:#2EB2A0;
 color:rgba(255,255,255,1);
}
.demo2 input[type=radio] + label:before {
 border:#bebebe 1px solid;
 border-radius: 2em;
 background:#fff;
}
.demo2 input[type=radio]:checked + label:before {
 border:#24A592 1px solid;
}
.demo2 input[type=radio] + label:after, .demo2 input[type=radio]:checked + label:after {
 position: absolute;
 top:-3px;
 left:0;
 width:1.25em;
 height:1.25em;
 line-height:1.25;
 border-radius:2em;
}
.demo2 input[type=radio]:checked + label:after {
 background:#2EB2A0;
 -webkit-box-shadow:0 1px 3px rgba(0,0,0,.3);
 box-shadow:0 0 0 1px #24A592 inset, 0 0 0 6px rgba(255,255,255,1) inset;
}
/* -------------------- apple 風 -------------------- */
.demo3 label:before {
 width:1.25em;
 height:1.25em;
 line-height:1.2;
 margin-right:.5em;
 border-radius: 5px;
}
.demo3 input[type=checkbox] + label:before, .demo3 input[type=radio] + label:before {
 border:#bebebe 1px solid;
 background:#fff;
 background-image: -o-linear-gradient(top, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(50, #F3F3F3), color-stop(50, #ECECEC), color-stop(100, #DDDDDD));
 background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 background-image: linear-gradient(to bottom, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 color:rgba(255,255,255,0);
}
.demo3 input[type=checkbox]:checked + label:before, .demo3 input[type=radio]:checked + label:before {
 border:#6C7993 1px solid;
 background:#76C1FD;
 background-image: -o-linear-gradient(top, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #CAE6FD), color-stop(50, #8CC9FC), color-stop(50, #76C1FD), color-stop(100, #CFFFFF));
 background-image: -webkit-linear-gradient(top, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 background-image: linear-gradient(to bottom, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 color:#001732;
}
.demo3 input[type=checkbox] + label:before {
 content: "\f00c";
}
.demo3 input[type=radio] + label:before {
 position:relative;
 top:.2em;
 border-radius: 2em;
}
.demo3 input[type=radio] + label:after, .demo3 input[type=radio]:checked + label:after {
 position:absolute;
 top:.58em;
 left:.4em;
 width:.5em;
 height:.5em;
 border-radius:1em;
}
.demo3 input[type=radio]:checked + label:after {
 background:#001732;
}
--&gt;
&lt;/style&gt;
 &lt;p&gt;チェックボックスやラジオボタンをCSSとwebフォント（FontAwesome）で実装する方法です。&lt;/p&gt;
 &lt;h2&gt;ポイント&lt;/h2&gt;
 &lt;ul class="decimal"&gt;
  &lt;li&gt;デフォルトのチェックボックス、ラジオボタンを消す。&lt;/li&gt;
  &lt;li&gt;初期設定として隣接セレクタと疑似要素でlabelタグにアイコンを指定する。&lt;/li&gt;
  &lt;li&gt;選択状態でlabelタグのアイコンを入れ替える。&lt;/li&gt;
 &lt;/ul&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;h3 class="numbering"&gt;&lt;span&gt;アイコンの指定のみ&lt;/span&gt;&lt;/h3&gt;
 &lt;div class="demo demo1"&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check1"&gt;&lt;label for="check1"&gt;チェックボックス 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check2"&gt;&lt;label for="check2"&gt;チェックボックス 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="radio" name="radio" id="radio1"&gt;&lt;label for="radio1"&gt;ラジオボタン 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="radio" name="radio" id="radio2"&gt;&lt;label for="radio2"&gt;ラジオボタン 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
 &lt;h3 class="numbering"&gt;&lt;span&gt;CSS + アイコン&lt;/span&gt;&lt;/h3&gt;
 &lt;div class="demo demo2"&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check3"&gt;&lt;label for="check3"&gt;チェックボックス 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check4"&gt;&lt;label for="check4"&gt;チェックボックス 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="radio" name="radio2" id="radio3"&gt;&lt;label for="radio3"&gt;ラジオボタン 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="radio" name="radio2" id="radio4"&gt;&lt;label for="radio4"&gt;ラジオボタン 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
 &lt;h3 class="numbering"&gt;&lt;span&gt;apple 風&lt;/span&gt;&lt;/h3&gt;
 &lt;div class="demo demo3"&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check5"&gt;&lt;label for="check5"&gt;チェックボックス 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check6"&gt;&lt;label for="check6"&gt;チェックボックス 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;input type="radio" name="radio3" id="radio5"&gt;&lt;label for="radio5"&gt;ラジオボタン 1&lt;/label&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="radio" name="radio3" id="radio6"&gt;&lt;label for="radio6"&gt;ラジオボタン 2&lt;/label&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;input type="checkbox" id="check1"&gt;&lt;label for="check1"&gt;チェックボックス 1&lt;/label&gt;&lt;/li&gt;
 &lt;li&gt;&lt;input type="checkbox" id="check2"&gt;&lt;label for="check2"&gt;チェックボックス 2&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;input type="radio" name="radio" id="radio1"&gt;&lt;label for="radio1"&gt;ラジオボタン 1&lt;/label&gt;&lt;/li&gt;
 &lt;li&gt;&lt;input type="radio" name="radio" id="radio2"&gt;&lt;label for="radio2"&gt;ラジオボタン 2&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* 共通 */
li {
 margin-bottom:1em;
}
label {
 position:relative;
 display: inline-block;
 line-height:1;
 cursor: pointer;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
label:before, label:after {
 position:relative;
 content: "";
 display: inline-block;
 text-align:center;
 font-family: FontAwesome;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
input[type=checkbox], input[type=radio] {
 display: none;
}
/* -------------------- アイコンの指定のみ -------------------- */
label {
 padding-left:1.8em;
}
label:before {
 position: absolute;
 top:-.1em;
 left:-.3em;
 width: 1.5em;
 font-size:1.4em;
 color:#c6c6c6;
}
input[type=checkbox] + label:before {
 content: "\f096";
}
input[type=checkbox]:checked + label:before {
 content: "\f14a";
 color:#409AD5;
}
input[type=radio] + label:before {
 content: "\f10c";
}
input[type=radio]:checked + label:before {
 content: "\f192";
 color:#409AD5;
}
/* -------------------- CSS + アイコン -------------------- */
label {
 padding-left:1.8em;
}
label:before {
 position: absolute;
 top:-3px;
 left:0;
 width:1.25em;
 height:1.25em;
 line-height:1.25;
 margin-right:.5em;
 border-radius: 5px;
}
input[type=checkbox] + label:before {
 content: "\f00c";
 border:#bebebe 1px solid;
 background:#fff;
 color:rgba(255,255,255,0);
}
input[type=checkbox]:checked + label:before {
 content: "\f00c";
 border:#24A592 1px solid;
 background:#2EB2A0;
 color:rgba(255,255,255,1);
}
input[type=radio] + label:before {
 border:#bebebe 1px solid;
 border-radius: 2em;
 background:#fff;
}
input[type=radio]:checked + label:before {
 border:#24A592 1px solid;
}
input[type=radio] + label:after, input[type=radio]:checked + label:after {
 position: absolute;
 top:-3px;
 left:0;
 width:1.25em;
 height:1.25em;
 line-height:1.25;
 border-radius:2em;
}
input[type=radio]:checked + label:after {
 background:#2EB2A0;
 -webkit-box-shadow:0 1px 3px rgba(0,0,0,.3);
 box-shadow:0 0 0 1px #24A592 inset, 0 0 0 6px rgba(255,255,255,1) inset;
}
/* -------------------- apple 風 -------------------- */
label:before {
 width:1.25em;
 height:1.25em;
 line-height:1.2;
 margin-right:.5em;
 border-radius: 5px;
}
input[type=checkbox] + label:before, input[type=radio] + label:before {
 border:#bebebe 1px solid;
 background:#fff;
 background-image: -o-linear-gradient(top, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(50, #F3F3F3), color-stop(50, #ECECEC), color-stop(100, #DDDDDD));
 background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 background-image: linear-gradient(to bottom, #FFFFFF 0%, #F3F3F3 50%, #ECECEC 50%, #DDDDDD 100%);
 color:rgba(255,255,255,0);
}
input[type=checkbox]:checked + label:before, input[type=radio]:checked + label:before {
 border:#6C7993 1px solid;
 background:#76C1FD;
 background-image: -o-linear-gradient(top, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #CAE6FD), color-stop(50, #8CC9FC), color-stop(50, #76C1FD), color-stop(100, #CFFFFF));
 background-image: -webkit-linear-gradient(top, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 background-image: linear-gradient(to bottom, #CAE6FD 0%, #8CC9FC 50%, #76C1FD 50%, #CFFFFF 100%);
 color:#001732;
}
input[type=checkbox] + label:before {
 content: "\f00c";
}
input[type=radio] + label:before {
 position:relative;
 top:.2em;
 border-radius: 2em;
}
input[type=radio] + label:after, input[type=radio]:checked + label:after {
 position:absolute;
 top:.58em;
 left:.4em;
 width:.5em;
 height:.5em;
 border-radius:1em;
}
input[type=radio]:checked + label:after {
 background:#001732;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gradients" target="_blank"&gt;CSS Gradients&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2014/04/css-checkboxes-and-radio-buttons-with.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6878624596340920456</guid><pubDate>Tue, 04 Mar 2014 03:30:00 +0000</pubDate><atom:updated>2014-03-22T14:03:17.987+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">diary</category><category domain="http://www.blogger.com/atom/ns#">ピンポン</category><category domain="http://www.blogger.com/atom/ns#">松本大洋</category><title>この星の一等賞になりたいの卓球で俺は。</title><description>&lt;div class="post"&gt; &lt;img class="img" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjbE81gO2DXiKAfLd8WrHKUzX6uJyS-RDEnaKfVhZ_2M_x2V5XH-VNPZOZAuGggks8mnQDNU29soEaynCYla4ad51gqr9sdpAksVLWx8FBhy1QkDoNBEFYeSEr1G1tMpsK9ZWkwEa10M_x/s1600/img01.jpg" /&gt;
 &lt;p&gt;鉄コン筋クリートから約8年、遂にピンポンのアニメ化キターーー！これは絶対見ねば。公式サイトの書き下ろしかっけー！声優も良さげ！あと、あだ名に苦情きませんように。&lt;/p&gt;
 &lt;img class="img" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7N-ZkEjSatJN3tCfQBX55EffMEMixx3Sr-PGT5LsiTGICL6WdctM7q_aHXvkhI88ScfptcrcCnClwXGr3P6rWC1BLhoB0CZxOSRvIRHOTHe2W7Veh7Gc34Bl3QXzPhKbk_rOAp235msOx/s1600/img_visual001.jpg" width="436" height="617"&gt;
&lt;ul class="link"&gt;
  &lt;li&gt;&lt;a href="http://www.pingpong-anime.tv" target="_blank"&gt; TVアニメ『ピンポン』公式サイト&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;div class="youtube"&gt;
  &lt;iframe width="640" height="360" src="//www.youtube.com/embed/8ScmdMzslVw" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
 &lt;/div&gt;
 &lt;p&gt;この流れで『花男』と『ZERO』もアニメ化してくんないかな〜&lt;/p&gt;
 &lt;div class="img"&gt;&lt;img style="margin:0 1em 1em 0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHDhIhtUnROexB1sKz3PHKDklNQTrVldGvGxj5kkSDyruF1yd8CyMNeeRNRrfeP2Y-P0koDL-iD2iepClnW_jBfDG8MHWnvIibIAW3D_9v_ylx1Dz705DHIXB8ENQKjYRE2C84NwXN3da4/s1600/51ECgGYUl4L._SL500_AA300_.jpg" width="300" height="300"&gt;&lt;img style="margin:0 1em 1em 0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrgRw2Xhcyuuwf5FybkldoWqAx2R0JQQuHekuw9NuTQXppsw0SmyQZNlT_nX7rYSxy_K1odJPstU8WdwBQVYLBU6hddZc_MjnRqGBicBeNeqeOt5emFrkYBR3FkT9SxSA_cHm4T9DDpdgy/s1600/51MLVh9cCLL._SL500_AA300_.jpg" width="300" height="300"&gt;&lt;/div&gt;
&lt;/div&gt;


</description><link>http://norm-design.blogspot.com/2014/03/blog-post.html</link><author>noreply@blogger.com (norm)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjbE81gO2DXiKAfLd8WrHKUzX6uJyS-RDEnaKfVhZ_2M_x2V5XH-VNPZOZAuGggks8mnQDNU29soEaynCYla4ad51gqr9sdpAksVLWx8FBhy1QkDoNBEFYeSEr1G1tMpsK9ZWkwEa10M_x/s72-c/img01.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-4527678768658093580</guid><pubDate>Sun, 15 Dec 2013 07:51:00 +0000</pubDate><atom:updated>2014-04-01T18:07:17.299+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">calendar</category><category domain="http://www.blogger.com/atom/ns#">mobile</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Mobile Calendar</title><description>&lt;p&gt;カレンダーUI。相対指定により幅の変化に対応。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/mobile.css"  /&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="calendar"&gt;
    &lt;ul class="calendar_month"&gt;
     &lt;li class="prev"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-left"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li class="month"&gt;&lt;span&gt;2013&lt;/span&gt;.&lt;b&gt;4&lt;/b&gt;&lt;/li&gt;
     &lt;li class="next"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_week"&gt;
     &lt;li&gt;SUN&lt;/li&gt;
     &lt;li&gt;MON&lt;/li&gt;
     &lt;li&gt;TUE&lt;/li&gt;
     &lt;li&gt;WED&lt;/li&gt;
     &lt;li&gt;THU&lt;/li&gt;
     &lt;li&gt;FRI&lt;/li&gt;
     &lt;li&gt;SAT&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_days"&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;31&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;6&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;7&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;8&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;9&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;/li&gt;
     &lt;li class="today"&gt;&lt;a href="#"&gt;11&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;12&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;13&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;14&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;15&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;16&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;17&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;18&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;19&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;20&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;21&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;22&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;23&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;25&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;26&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;27&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;28&lt;/a&gt;&lt;/li&gt;
     &lt;li class="holiday"&gt;&lt;a href="#"&gt;29&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;30&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="calendar"&gt;
    &lt;ul class="calendar_month"&gt;
     &lt;li class="prev"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-left"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li class="month"&gt;&lt;span&gt;2013&lt;/span&gt;.&lt;b&gt;4&lt;/b&gt;&lt;/li&gt;
     &lt;li class="next"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_week"&gt;
     &lt;li&gt;SUN&lt;/li&gt;
     &lt;li&gt;MON&lt;/li&gt;
     &lt;li&gt;TUE&lt;/li&gt;
     &lt;li&gt;WED&lt;/li&gt;
     &lt;li&gt;THU&lt;/li&gt;
     &lt;li&gt;FRI&lt;/li&gt;
     &lt;li&gt;SAT&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_days"&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;31&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;6&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;7&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;8&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;9&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;/li&gt;
     &lt;li class="today"&gt;&lt;a href="#"&gt;11&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;12&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;13&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;14&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;15&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;16&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;17&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;18&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;19&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;20&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;21&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;22&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;23&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;25&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;26&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;27&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;28&lt;/a&gt;&lt;/li&gt;
     &lt;li class="holiday"&gt;&lt;a href="#"&gt;29&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;30&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;div class="calendar"&gt;
    &lt;ul class="calendar_month"&gt;
     &lt;li class="prev"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-left"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li class="month"&gt;&lt;span&gt;2013&lt;/span&gt;.&lt;b&gt;4&lt;/b&gt;&lt;/li&gt;
     &lt;li class="next"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_week"&gt;
     &lt;li&gt;SUN&lt;/li&gt;
     &lt;li&gt;MON&lt;/li&gt;
     &lt;li&gt;TUE&lt;/li&gt;
     &lt;li&gt;WED&lt;/li&gt;
     &lt;li&gt;THU&lt;/li&gt;
     &lt;li&gt;FRI&lt;/li&gt;
     &lt;li&gt;SAT&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_days"&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;31&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;6&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;7&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;8&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;9&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;/li&gt;
     &lt;li class="today"&gt;&lt;a href="#"&gt;11&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;12&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;13&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;14&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;15&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;16&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;17&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;18&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;19&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;20&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;21&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;22&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;23&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;25&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;26&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;27&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;28&lt;/a&gt;&lt;/li&gt;
     &lt;li class="holiday"&gt;&lt;a href="#"&gt;29&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;30&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;div class="calendar"&gt;
    &lt;ul class="calendar_month"&gt;
     &lt;li class="prev"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-left"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li class="month"&gt;&lt;span&gt;2013&lt;/span&gt;.&lt;b&gt;4&lt;/b&gt;&lt;/li&gt;
     &lt;li class="next"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_week"&gt;
     &lt;li&gt;SUN&lt;/li&gt;
     &lt;li&gt;MON&lt;/li&gt;
     &lt;li&gt;TUE&lt;/li&gt;
     &lt;li&gt;WED&lt;/li&gt;
     &lt;li&gt;THU&lt;/li&gt;
     &lt;li&gt;FRI&lt;/li&gt;
     &lt;li&gt;SAT&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="calendar_days"&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;31&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;6&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;7&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;8&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;9&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;/li&gt;
     &lt;li class="today"&gt;&lt;a href="#"&gt;11&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;12&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;13&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;14&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;15&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;16&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;17&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;18&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;19&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;20&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;21&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;22&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;23&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;25&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;26&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;27&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;28&lt;/a&gt;&lt;/li&gt;
     &lt;li class="holiday"&gt;&lt;a href="#"&gt;29&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;30&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
     &lt;li class="outside"&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="calendar"&gt;
 &lt;ul class="calendar_month"&gt;
  &lt;li class="prev"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-left"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;&lt;li class="month"&gt;&lt;span&gt;2013&lt;/span&gt;.&lt;b&gt;4&lt;/b&gt;&lt;/li&gt;&lt;li class="next"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;ul class="calendar_week"&gt;
  &lt;li&gt;SUN&lt;/li&gt;&lt;li&gt;MON&lt;/li&gt;&lt;li&gt;TUE&lt;/li&gt;&lt;li&gt;WED&lt;/li&gt;&lt;li&gt;THU&lt;/li&gt;&lt;li&gt;FRI&lt;/li&gt;&lt;li&gt;SAT&lt;/li&gt;
 &lt;/ul&gt;
 &lt;ul class="calendar_days"&gt;
  &lt;li class="outside"&gt;&lt;a href="#"&gt;31&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;6&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;7&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;8&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;9&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;/li&gt;&lt;li class="today"&gt;&lt;a href="#"&gt;11&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;12&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;13&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;14&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;15&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;16&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;17&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;18&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;19&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;20&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;21&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;22&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;23&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;25&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;26&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;27&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;28&lt;/a&gt;&lt;/li&gt;&lt;li class="holiday"&gt;&lt;a href="#"&gt;29&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#"&gt;30&lt;/a&gt;&lt;/li&gt;&lt;li class="outside"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;&lt;li class="outside"&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;&lt;li class="outside"&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;&lt;li class="outside"&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/div&gt;
&lt;/pre&gt;
 &lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* 共通 */
* {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.calendar {
 line-height:1;
 font-family:'Lato';
 font-weight:300;
}
.calendar a {
 text-decoration:none;
}
.calendar_month, .calendar_week {
 display:table;
 width: 100%;
 font-weight:400;
 overflow:hidden;
}
.calendar_month &gt; li, .calendar_week &gt; li {
 display:table-cell;
 vertical-align: middle;
 text-align:center;
}
.calendar_month .prev, .calendar_month .next {
 width:3em;
}
.calendar_month .prev a, .calendar_month .next a {
 display:block;
 padding:1em 0;
}
.calendar_month .month b, .calendar_month .month span {
 margin:0 .2em;
 font-size:150%;
 font-weight:300;
}
.calendar_week {
 table-layout: fixed;
 font-size:75%;
}
.calendar_week &gt; li {
 width:14.285714285%;
 padding:1em 0;
}
.calendar_days {
 overflow:hidden;
}
.calendar_days &gt; li {
 float:left;
 width:14.285714285%;
}
.calendar_days &gt; li a {
 display:block;
 padding:1em 0;
 text-align:center;
}
/* a */
.calendar_month a {
 color:#ccc;
}
.calendar_week {
 background:#2980B9;
 color:rgba(255,255,255,.5);
}
.calendar_days &gt; li a {
 border-bottom:#fff 1px solid;
 color:#454C5E;
}
.calendar_days &gt; li:nth-of-type(7n) a {
 color:#2980B9;
}
.calendar_days &gt; li:nth-of-type(7n+1) a, .calendar_days .holiday a {
 color:#BD2426;
}
.calendar_days .outside a {
 color:#ccc !important;
}
.calendar_days .today a {
 background:#2789E4;
 color:#fff;
}
/* b */
.calendar_month .month {
 border-right:#3194CE 1px solid;
 border-left:#3194CE 1px solid;
}
.calendar_month .month, .calendar_month a {
 background:#3DA5E5;
 color:#fff;
}
.calendar_week {
 background:#1773A8;
 color:rgba(255,255,255,.7);
}
.calendar_days &gt; li a {
 border-right:#3194CE 1px solid;
 border-bottom:#3194CE 1px solid;
 background:#3DA5E5;
 color:#fff;
}
.calendar_days &gt; li:nth-of-type(7n) a {
 border-right: none;
 color:#1A608C;
}
.calendar_days &gt; li:nth-of-type(7n+1) a, .calendar_days .holiday a {
 color:#FFBCBC;
}
.calendar_days .outside a {
 color:rgba(255,255,255,.2) !important;
}
.calendar_days .today a {
 background:#fff;
 color:#2980B9;
}
/* c */
.calendar_month a, .calendar_week {
 color:#fff;
}
.calendar_days, .calendar_days &gt; li {
 padding:1px;
}
.calendar_days &gt; li a {
 padding:.9em 0;
 border-radius: 2px;
 background:#DCEDE5;
 color:#62726B;
}
.calendar_days &gt; li:nth-of-type(7n) a {
 color:#2980B9;
}
.calendar_days &gt; li:nth-of-type(7n+1) a, .calendar_days .holiday a {
 color:#BD2426;
}
.calendar_days .outside a {
 color:rgba(98,114,107,.3) !important;
}
.calendar_days .today a {
 background:#BBCBC4;
 color:#fff;
}
/* d */
.calendar_month .month {
 border-left:#C9CACA 1px solid;
 border-right:#C9CACA 1px solid;
}
.calendar_month .month, .calendar_month a, .calendar_days &gt; li a {
 background:#E0E1E2;
 -webkit-box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;
 box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;
 color:#636F7C;
}
.calendar_week {
 background:#636F7C;
 color:rgba(255,255,255,.7);
}
.calendar_days &gt; li a {
 border-bottom:#C9CACA 1px solid;
 border-right:#C9CACA 1px solid;
}
.calendar_days &gt; li:nth-of-type(7n) a {
 border-right: none;
 color:#2980B9;
}
.calendar_days &gt; li:nth-of-type(7n+1) a, .calendar_days .holiday a {
 color:#BD2426;
}
.calendar_days .outside a {
 color:#BFC0C1 !important;
}
.calendar_days .today a {
 background:#F4F6F7;
 -webkit-box-shadow:0 1px 3px rgba(0,0,0,.1) inset;
 box-shadow:0 1px 2px rgba(0,0,0,.1) inset;
}
&lt;/pre&gt;
 &lt;h2&gt;CSS対応状況&lt;/h2&gt;
 &lt;ul class="link"&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-table" target="_blank"&gt;CSS Table display&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/12/ui-ui-components-mobile-calendar.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-2418554263919209098</guid><pubDate>Sun, 01 Dec 2013 07:48:00 +0000</pubDate><atom:updated>2014-04-01T15:10:22.295+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mobile</category><category domain="http://www.blogger.com/atom/ns#">navigation</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Mobile List Navigation</title><description> &lt;p&gt;スマホでよく見るリスト型のナビゲーション。画像なしの場合でも成立します。画像の大きさも場合によって大きさを変えるためにCSSでトリミングできるようにしています。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/mobile.css"  /&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;ul class="list_navi"&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb1.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
      &lt;small&gt;consectetur&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb2.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Aenean elementum purus at sapien tincidunt, id dapibus dui porta&lt;/p&gt;
      &lt;small&gt;vivamus iaculis&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Morbi at tortor aliquet&lt;/p&gt;
      &lt;small&gt;gravida libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Nullam vulputate elit non ante vulputate congue&lt;/p&gt;
      &lt;small&gt;aliquam massa&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Sed vitae velit facilisis Curabitur sit amet odio non elit consequat tristique&lt;/p&gt;
      &lt;small&gt;venenatis libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;ul class="list_navi"&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb1.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
      &lt;small&gt;consectetur&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb2.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Aenean elementum purus at sapien tincidunt, id dapibus dui porta&lt;/p&gt;
      &lt;small&gt;vivamus iaculis&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Morbi at tortor aliquet&lt;/p&gt;
      &lt;small&gt;gravida libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Nullam vulputate elit non ante vulputate congue&lt;/p&gt;
      &lt;small&gt;aliquam massa&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Sed vitae velit facilisis Curabitur sit amet odio non elit consequat tristique&lt;/p&gt;
      &lt;small&gt;venenatis libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;ul class="list_navi"&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb1.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
      &lt;small&gt;consectetur&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb2.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Aenean elementum purus at sapien tincidunt, id dapibus dui porta&lt;/p&gt;
      &lt;small&gt;vivamus iaculis&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Morbi at tortor aliquet&lt;/p&gt;
      &lt;small&gt;gravida libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb4.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Nullam vulputate elit non ante vulputate congue&lt;/p&gt;
      &lt;small&gt;aliquam massa&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb5.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Sed vitae velit facilisis Curabitur sit amet odio non elit consequat tristique&lt;/p&gt;
      &lt;small&gt;venenatis libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;ul class="list_navi"&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb1.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
      &lt;small&gt;consectetur&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb2.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Aenean elementum purus at sapien tincidunt, id dapibus dui porta&lt;/p&gt;
      &lt;small&gt;vivamus iaculis&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="image"&gt;
      &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="text"&gt;
      &lt;p&gt;Morbi at tortor aliquet&lt;/p&gt;
      &lt;small&gt;gravida libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Nullam vulputate elit non ante vulputate congue&lt;/p&gt;
      &lt;small&gt;aliquam massa&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;a href="#"&gt;&lt;div class="text"&gt;
      &lt;p&gt;Sed vitae velit facilisis Curabitur sit amet odio non elit consequat tristique&lt;/p&gt;
      &lt;small&gt;venenatis libero&lt;/small&gt;&lt;/div&gt;&lt;/a&gt;
    &lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;ul class="list_navi"&gt;
 &lt;li&gt;&lt;a href="#"&gt;
  &lt;div class="image"&gt;&lt;div&gt;&lt;img src="任意の画像"&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;div class="text"&gt;
   &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
   &lt;small&gt;consectetur&lt;/small&gt;&lt;/div&gt;
  &lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;
  &lt;div class="text"&gt;
   &lt;p&gt;Nullam vulputate elit non ante vulputate congue&lt;/p&gt;
   &lt;small&gt;aliquam massa&lt;/small&gt;&lt;/div&gt;
  &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
 &lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* 共通 */
* {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.list_navi a {
 display:table;
 width:100%;
 height:5.2em;
 text-decoration:none;
}
.list_navi a &gt; div {
 display: table-cell;
 vertical-align:middle;
}
.list_navi .image {
 padding-right:.6em;
}
.list_navi .image div {
 overflow:hidden;
}
.list_navi .image img {
 width:7em;
}
.list_navi .text {
 line-height:1;
}
.list_navi .text p {
 max-height:2.6em;
 line-height:1.3;
 margin-bottom:0;
 overflow:hidden;
}
.list_navi .text small {
 color:#aaa;
}
/* a */
.list_navi a {
 padding:.6em;
}
.list_navi li:nth-of-type(odd) {
 background:#F3F3F3;
}
.list_navi .image {
 width:4em;
}
.list_navi .image div {
 width:4em;
 height:4em;
}
/* b */
.list_navi a {
 padding:.6em;
}
.list_navi li {
 border-top:#eee 1px solid;
}
.list_navi li:first-child {
 border-top:none;
}
.list_navi .image {
 width:4em;
}
.list_navi .image div {
 width:4em;
 height:4em;
}
/* c */
.list_navi .text {
 padding-right:.6em;
}
.list_navi li {
 border-top:#eee 1px solid;
}
.list_navi li:first-child {
 border-top:none;
}
.list_navi .image {
 width:5.2em;
}
.list_navi .image div {
 width:5.2em;
 height:5.2em;
}
.list_navi .image img {
 width:10em;
}
/* d */
.list_navi a {
 padding:.6em;
}
.list_navi li {
 border-top:#fff 1px solid;
 border-bottom:#ddd 1px solid;
 background-image: -o-linear-gradient(top, #F9F9F9 0%, #E6E6E6 100%);
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F9F9F9), color-stop(100, #E6E6E6));
 background-image: -webkit-linear-gradient(top, #F9F9F9 0%, #E6E6E6 100%);
 background-image: linear-gradient(to bottom, #F9F9F9 0%, #E6E6E6 100%);
}
.list_navi li:first-child {
 border-top:none;
}
.list_navi li:last-child {
 border-bottom:none;
}
.list_navi .image {
 width:4em;
}
.list_navi .image div {
 width:4em;
 height:4em;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-table" target="_blank"&gt;CSS Table display&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gradients" target="_blank"&gt;CSS Gradients&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/12/ui-ui-components-mobile-list-navigation.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-929380233382097875</guid><pubDate>Sat, 02 Nov 2013 07:40:00 +0000</pubDate><atom:updated>2014-03-25T19:17:51.141+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">toggle</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Toggle Switch</title><description>&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/toggles.css"&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;e&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo5"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;f&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo6"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;g&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo7"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;h&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo8"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;i&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo9"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;j&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo10"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;k&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo11"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="grid"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;l&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo12"&gt;
   &lt;div class="toggle on"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;JS&lt;/h2&gt;
&lt;p&gt;使用させていただいたのは『&lt;a href="https://github.com/simontabor/jquery-toggles/" target="_blank"&gt;jQuery Toggles&lt;/a&gt;』。jsは最後に読み込ませる必要あり。&lt;/p&gt;
&lt;pre class="brush: html;"&gt;
&lt;script type="text/javascript" src="toggles-min.js"&gt;&lt;/script&gt; 
&lt;script type="text/javascript" src="toggles.js"&gt;&lt;/script&gt;
&lt;/pre&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&amp;lt;div class="toggle on"&gt;&amp;lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* -------------------- 基本設定 -------------------- */
.toggle * {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.toggle {
 display: inline-block;
 width: 100px;
 height: 50px;
 font-size: 14px;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off, .toggle-slide .toggle-blob, .toggle-slide .toggle-blob:after {
 float: left;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.toggle-slide {
 overflow: hidden;
 cursor: pointer;
 -webkit-touch-callout: none;
 -webkit-user-select: none;
 -khtml-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
}
.toggle-slide .toggle-blob {
 position: relative;
 z-index: 99;
 cursor: hand;
 cursor: grab;
 cursor: -moz-grab;
 cursor: -webkit-grab;
}
.toggle-slide .toggle-blob:after {
 content: "";
 position: absolute;
}
/* -------------------- A -------------------- */
.toggle-slide {
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- B -------------------- */
.toggle-slide {
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- C -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 border-radius: 3px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- D -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 border-radius: 3px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- E -------------------- */
.toggle-slide {
 border-radius: 50px;
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 border-radius: 50px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- F -------------------- */
.toggle-slide {
 border-radius: 50px;
 color: #fff;
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
}
.toggle-slide .toggle-blob:after {
 top: 2px;
 left: 2px;
 width: 46px;
 height: 46px;
 border-radius: 50px;
 background:#fff;
}
.toggle-slide .toggle-blob:hover:after {
 background: #f3f3f3;
}
/* -------------------- G -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
 box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob:after {
 top: 1px;
 left: 1px;
 width: 48px;
 height: 48px;
 border-radius: 3px;
 background:#EBEBEB;
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,1) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
}
.toggle-slide .toggle-blob:hover:after {
 background: #F6F6F6;
}
/* -------------------- H -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
 box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob:after {
 top: 1px;
 left: 1px;
 width: 48px;
 height: 48px;
 border-radius: 3px;
 background:#EBEBEB;
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,1) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
}
.toggle-slide .toggle-blob:hover:after {
 background: #F6F6F6;
}
/* -------------------- I -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
 box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob {
 border-radius: 3px;
 border:#33353F 1px solid;
 background:#343943;
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255,255,255,.2) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.toggle-slide .toggle-blob:hover {
 background: #33353F;
}
/* -------------------- J -------------------- */
.toggle-slide {
 border-radius: 3px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
 box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:1px 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob {
 border-radius: 3px;
 border:#33353F 1px solid;
 background:#343943;
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255,255,255,.2) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.toggle-slide .toggle-blob:hover {
 background: #33353F;
}
/* -------------------- K -------------------- */
.toggle-slide {
 border-radius: 50px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #77CF21;
}
.toggle-slide .toggle-on {
 border-radius: 50px 0 0 50px;
}
.toggle-slide .toggle-off {
 border-radius: 0 50px 50px 0;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #BD2426;
 box-shadow:0 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob {
 border-radius: 50px;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #c2c2c2), color-stop(0.00, #fff));
 background: -webkit-linear-gradient(#fff, #c2c2c2);
 background: -o-linear-gradient(#fff, #c2c2c2);
 background: linear-gradient(#fff, #c2c2c2);
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 1px rgba(51,51,51,1) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 1px rgba(51,51,51,1) inset;
}
.toggle-slide .toggle-blob:after {
 top: 5px;
 left: 5px;
 width:40px;
 height:40px;
 border-radius: 50px;
 background:#eee;
}
/* -------------------- L -------------------- */
.toggle-slide {
 border-radius: 50px;
 color: #fff;
 text-shadow:0 -1px 0 rgba(0,0,0,0.3);
}
.toggle &gt; .active .toggle-on, .toggle &gt; .active .toggle-off {
 background: #3498DB;
}
.toggle-slide .toggle-on {
 border-radius: 50px 0 0 50px;
}
.toggle-slide .toggle-off {
 border-radius: 0 50px 50px 0;
}
.toggle-slide .toggle-on, .toggle-slide .toggle-off {
 background: #D6D6D6;
 box-shadow:0 1px 3px rgba(0, 0, 0, .5) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, .5) inset;
}
.toggle-slide .toggle-blob {
 border-radius: 50px;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #c2c2c2), color-stop(0.00, #fff));
 background: -webkit-linear-gradient(#fff, #c2c2c2);
 background: -o-linear-gradient(#fff, #c2c2c2);
 background: linear-gradient(#fff, #c2c2c2);
 box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 1px rgba(51,51,51,1) inset;
 -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 0 1px rgba(51,51,51,1) inset;
}
.toggle-slide .toggle-blob:after {
 top: 5px;
 left: 5px;
 width:40px;
 height:40px;
 border-radius: 50px;
 background:#eee;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-boxshadow" target="_blank"&gt;CSS3 Box-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gradients" target="_blank"&gt;CSS Gradients&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-textshadow" target="_blank"&gt;CSS3 Text-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5743502/blog/js/toggles-min.js"&gt;&lt;/script&gt; 
&lt;script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5743502/blog/js/toggles.js"&gt;&lt;/script&gt;</description><link>http://norm-design.blogspot.com/2013/11/ui-ui-components-toggle-switch.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-5070729714736714245</guid><pubDate>Sat, 26 Oct 2013 07:42:00 +0000</pubDate><atom:updated>2014-03-25T19:17:30.002+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mobile</category><category domain="http://www.blogger.com/atom/ns#">navigation</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Mobile Tile Based Navigation</title><description>&lt;p&gt;タイルベースのスマホ用ナビゲーション。アイコンにはFont Awesomeを使用。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/mobile.css"  /&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;ul class="navi"&gt;
    &lt;li class="navi-photo"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-camera"&gt;&lt;/i&gt;&lt;span&gt;photo&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-mail"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-envelope"&gt;&lt;/i&gt;&lt;span&gt;mail&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-music"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-music"&gt;&lt;/i&gt;&lt;span&gt;music&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-talk"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-comments"&gt;&lt;/i&gt;&lt;span&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-map"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-map-marker"&gt;&lt;/i&gt;&lt;span&gt;map&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-shopping"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-shopping-cart"&gt;&lt;/i&gt;&lt;span&gt;shopping&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;ul class="navi"&gt;
    &lt;li class="navi-photo"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-camera"&gt;&lt;/i&gt;&lt;span&gt;photo&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-mail"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-envelope"&gt;&lt;/i&gt;&lt;span&gt;mail&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-music"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-music"&gt;&lt;/i&gt;&lt;span&gt;music&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-talk"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-comments"&gt;&lt;/i&gt;&lt;span&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-map"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-map-marker"&gt;&lt;/i&gt;&lt;span&gt;map&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-shopping"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-shopping-cart"&gt;&lt;/i&gt;&lt;span&gt;shopping&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;ul class="navi"&gt;
    &lt;li class="navi-photo"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-camera"&gt;&lt;/i&gt;&lt;span&gt;photo&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-mail"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-envelope"&gt;&lt;/i&gt;&lt;span&gt;mail&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-music"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-music"&gt;&lt;/i&gt;&lt;span&gt;music&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-talk"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-comments"&gt;&lt;/i&gt;&lt;span&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-map"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-map-marker"&gt;&lt;/i&gt;&lt;span&gt;map&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-shopping"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-shopping-cart"&gt;&lt;/i&gt;&lt;span&gt;shopping&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;ul class="navi"&gt;
    &lt;li class="navi-photo"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-camera"&gt;&lt;/i&gt;&lt;span&gt;photo&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-mail"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-envelope"&gt;&lt;/i&gt;&lt;span&gt;mail&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-music"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-music"&gt;&lt;/i&gt;&lt;span&gt;music&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-talk"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-comments"&gt;&lt;/i&gt;&lt;span&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-map"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-map-marker"&gt;&lt;/i&gt;&lt;span&gt;map&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="navi-shopping"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-shopping-cart"&gt;&lt;/i&gt;&lt;span&gt;shopping&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;ul class="navi"&gt;
 &lt;li class="navi-photo"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-camera"&gt;&lt;/i&gt;&lt;span&gt;photo&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li class="navi-mail"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-envelope"&gt;&lt;/i&gt;&lt;span&gt;mail&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li class="navi-music"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-music"&gt;&lt;/i&gt;&lt;span&gt;music&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li class="navi-talk"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-comments"&gt;&lt;/i&gt;&lt;span&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li class="navi-map"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-map-marker"&gt;&lt;/i&gt;&lt;span&gt;map&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li class="navi-shopping"&gt;&lt;a href="#" target="_blank"&gt;&lt;i class="icon fa fa-shopping-cart"&gt;&lt;/i&gt;&lt;span&gt;shopping&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* 共通 */
* {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.navi li {
 position:relative;
 float:left;
 width:50%;
 line-height:1;
 text-align:center;
 text-transform:uppercase;
 overflow:hidden;
}
.navi li a {
 display:block;
 height:160px;
 text-decoration:none;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.navi li a:hover {
 opacity:0.7;
 filter: alpha(opacity=70);
 -ms-filter: "alpha(opacity=70)";
}
.navi span {
 display:block;
 font-size:14px;
 color:#fff;
}
/* a */
.navi .icon {
 padding:40px 0 10px;
 font-size:50px;
 color:#fff;
}
.navi-photo a {
 background:#F75455;
}
.navi-mail a {
 background:#FF797D
}
.navi-talk a {
 background:#F1C40F;
}
.navi-music a {
 background:#FF9D2A;
}
.navi-map a {
 background:#2EB2A0;
}
.navi-shopping a {
 background:#5EBFD8;
}
/* b */
.navi {
 padding:5px;
 overflow:hidden;
}
.navi li {
 padding:5px;
}
.navi li a {
 height:145px;
 border-radius: 5px;
}
.navi .icon {
 padding:35px 0 10px;
 font-size:50px;
 color:#fff;
}
.navi-photo a {
 background:#F75455;
}
.navi-mail a {
 background:#FF797D
}
.navi-talk a {
 background:#F1C40F;
}
.navi-music a {
 background:#FF9D2A;
}
.navi-map a {
 background:#2EB2A0;
}
.navi-shopping a {
 background:#5EBFD8;
}
/* c */
.navi li:before, .navi li:after {
 content: "";
 position: absolute;
 width: 0;
 height: 0;
}
.navi li:before {
 bottom: 0;
 right: 0;
 left: 0;
 width:100%;
 border-bottom: #ddd 1px solid;
}
.navi li:after {
 top: 0;
 bottom: 0;
 right: 0;
 height:100%;
 border-right: #ddd 1px solid;
}
.navi li:nth-child(5):before, .navi li:nth-child(6):before {
 border-bottom: none;
}
.navi li:nth-child(2n):after {
 border-right: none;
}
.navi .icon {
 width:90px;
 height:90px;
 line-height:90px;
 border-radius: 50px;
 margin:25px 0 10px;
 font-size:40px;
 color:#fff;
}
.navi-photo .icon {
 background:#F75455;
}
.navi-photo span {
 color:#F75455;
}
.navi-mail .icon {
 background:#FF797D
}
.navi-mail span {
 color:#FF797D
}
.navi-talk .icon {
 background:#F1C40F;
}
.navi-talk span {
 color:#F1C40F;
}
.navi-music .icon {
 background:#FF9D2A;
}
.navi-music span {
 color:#FF9D2A;
}
.navi-map .icon {
 background:#2EB2A0;
}
.navi-map span {
 color:#2EB2A0;
}
.navi-shopping .icon {
 background:#5EBFD8;
}
.navi-shopping span {
 color:#5EBFD8;
}
/* d */
.navi li:before, .navi li:after {
 content: "";
 position: absolute;
 width: 0;
 height: 0;
}
.navi li:before {
 bottom: 0;
 right: 0;
 left: 0;
 width:80%;
 margin: 0 auto;
 border-bottom: #ddd 1px solid;
}
.navi li:after {
 top: 0;
 bottom: 0;
 right: 0;
 height:80%;
 margin: auto 0;
 border-right: #ddd 1px solid;
}
.navi li:nth-child(5):before, .navi li:nth-child(6):before {
 border-bottom: none;
}
.navi li:nth-child(2n):after {
 border-right: none;
}
.navi .icon {
 width:90px;
 height:90px;
 line-height:90px;
 border-radius: 50px;
 margin:25px 0 10px;
 font-size:40px;
 color:#fff;
}
.navi-photo .icon {
 background:#F75455;
}
.navi-photo span {
 color:#F75455;
}
.navi-mail .icon {
 background:#FF797D
}
.navi-mail span {
 color:#FF797D
}
.navi-talk .icon {
 background:#F1C40F;
}
.navi-talk span {
 color:#F1C40F;
}
.navi-music .icon {
 background:#FF9D2A;
}
.navi-music span {
 color:#FF9D2A;
}
.navi-map .icon {
 background:#2EB2A0;
}
.navi-map span {
 color:#2EB2A0;
}
.navi-shopping .icon {
 background:#5EBFD8;
}
.navi-shopping span {
 color:#5EBFD8;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/10/ui-ui-components-mobile-tile-based.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6363779012893144478</guid><pubDate>Sun, 22 Sep 2013 08:20:00 +0000</pubDate><atom:updated>2014-03-25T19:17:01.478+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">choreography</category><category domain="http://www.blogger.com/atom/ns#">krump</category><title>[Choreography] KRUMP</title><description>&lt;blockquote&gt;クランプとは、LAの超危険区域で生まれたダンスで、プロとして生計を立てていたトミー・ザ・クラウン(TOMMY THE CLOWN)らが始めたと言われている。この地域ではケンカや抗争が絶えず、生きていくことさえも簡単ではなかったようだ。そういった極限生活の中、次第に自分の怒りや感情をダンスにぶつけるようになって行った。&lt;br&gt;
 &lt;a href="http://breakdance.jp/html/modules/pico/index.php?content_id=25" target="_blank"&gt;クランプとは - DANCE KEEPERS（ダンスキーパーズ）&lt;/a&gt;&lt;/blockquote&gt;
&lt;h2&gt;SDK.2013 krump showcase + final battle&lt;/h2&gt;
&lt;p&gt;わるそうな奴はだいたい友達っぽい感じの人がわんさか&lt;/p&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/oIBszzrvcrY" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;Jawn Ha :: "Get Outta Your Mind" by Lil Jon (Choreography) :: Urban Dance Camp&lt;/h2&gt;
&lt;p&gt;MosWantedCrewのメンバーJawn Ha&lt;/p&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/P8RSUJVCYsM" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;Devils Den By Skrillex | Choreography by Jaja Vankova&lt;/h2&gt;
&lt;p&gt;I.aM.mE. crewのメンバーJaja vankova&lt;/p&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/tJ60uE6h2xg" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;関連サイト&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://www.youtube.com/user/JawnHizzaw" target="_blank"&gt;Jawn Ha - YouTube&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="https://twitter.com/jawnha" target="_blank"&gt;Jawn Ha (JawnHa)Twitter&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://www.youtube.com/user/MosWantedCrewTV" target="_blank"&gt;Mos Wanted Crew - YouTube&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://www.youtube.com/user/JAJAvankova" target="_blank"&gt;JAJAvankova - YouTube&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="https://twitter.com/jajavankova" target="_blank"&gt;Jaja Vankova (JajaVankova)Twitter&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://www.iammecrew.com/" target="_blank"&gt;I.aM.mE Crew | Official Website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/09/choreography-krump.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-1245001131859853246</guid><pubDate>Fri, 06 Sep 2013 19:19:00 +0000</pubDate><atom:updated>2014-03-25T19:20:52.000+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">diary</category><category domain="http://www.blogger.com/atom/ns#">漫画</category><title>メジャー誌以外のおすすめ漫画（連載中）パート2</title><description>&lt;p&gt;メジャー誌の定義は独断と偏見で、週刊少年ジャンプ、ビッグコミックスピリッツ、ヤングマガジン、週刊少年サンデー、週刊少年マガジン、週刊ヤングジャンプ、モーニング、週刊少年チャンピオン、月刊少年マガジンとさせていただきます。&lt;/p&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;刻刻&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E5%88%BB%E5%88%BB&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_kokukoku.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;佑河樹里はニートの父・兄と隠居の祖父、母、シングルマザーの妹と甥と共に暮らしていた。ある日、甥と兄が幼稚園からの帰路の途中で誘拐され、犯人から樹里・父の元に身代金要求の電話が掛かってくる。犯人の要求する身代金の受け渡し期限までは30分しかなく、間に合わないと悟った樹里は犯人と刺し違える覚悟で2人の救出へと向かう決意をするが、その時、祖父が佑河家に代々伝わるという止界術を使い、時間を止めてしまう。人も物も森羅万象が止まった止界で樹里たちは2人の救出へと向かうが、向かった先で自分たち以外の動く人間たちに遭遇、急襲される……。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E5%88%BB%E5%88%BB" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：堀尾省太&lt;/li&gt;
 &lt;li&gt;掲載誌：モーニング・ツー&lt;/li&gt;
 &lt;li&gt;岩明均度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;時間止まる度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;普通の人たち多い度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;海街diary&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E6%B5%B7%E8%A1%97diary&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_umimati.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;鎌倉で暮らす三姉妹の元に自分たちが幼い頃に離婚して家を出て行った父の訃報が届いた。15年以上会っていない父の死を特に何とも思えない次女・佳乃。三女・千佳も父との思い出がほとんどなく、佳乃と同じ気持ちだった。それでも長女・幸の頼みで葬式に出るために山形へ赴いた佳乃と千佳は、そこで年齢の割にしっかりしている中学生の異母妹・すずと初めて出会う。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E6%B5%B7%E8%A1%97diary" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：吉田秋生&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊フラワーズ&lt;/li&gt;
 &lt;li&gt;マンガ大賞2013度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;鎌倉住みたい度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;姉妹度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;砂ぼうず&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E7%A0%82%E3%81%BC%E3%81%86%E3%81%9A&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_umibozu.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;舞台は、関東大砂漠。数百年前に文明が滅び去ってもなお懲りずに、人間は人間同士で弱肉強食の争いを繰り返していた。そんな中、最近名をあげてきた便利屋、人呼んで砂漠の妖怪・砂ぼうず。金と名誉とボインのためなら、その抜群にキレる頭と腕前をいかして、卑怯・陰湿お構いなしに何でもやる……過酷なサバイバルを強いられる砂漠にまさに最適な男である。そして、関東一の凄腕美人を目指して彼に弟子入りした少女・通称：小砂。ある時は女に騙され命を危うくし、またある時は多額の借金を背負わされながら、二人の戦いの日々は続いていく。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E7%A0%82%E3%81%BC%E3%81%86%E3%81%9A" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：うすね正俊&lt;/li&gt;
 &lt;li&gt;掲載誌：コミックビーム&lt;/li&gt;
 &lt;li&gt;荒廃度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;女好き度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;マッドマックス度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;獣の奏者&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E7%8D%A3%E3%81%AE%E5%A5%8F%E8%80%85&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_kemono.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;獣ノ医術師である母とともに、闘蛇衆たちの村で暮らす少女エリン。彼女の母ソヨンはその優れた医術の腕を買われ闘蛇のなかでも特に強い&lt;牙&gt;の世話を任せられていた。ある日、村で飼っていた全ての&lt;牙&gt;が突然死んでしまい、母はその責任を問われ処刑されることとなった。エリンは母を助けようと必死に奔走するも失敗、母と引き離され天涯孤独の身の上となってしまう。その後、蜂飼いのジョウンに助け出されたエリンは彼と共に暮らすうち、山奥で天空を翔る野生の王獣と出会う。その姿に魅せられたエリンは母と同じく獣ノ医術師になることを決意し、ジョウンの昔なじみでもあるエサルが教導師長を務めるカザルム王獣保護場の学舎へと入舎する。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E7%8D%A3%E3%81%AE%E5%A5%8F%E8%80%85" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：上橋菜穂子（原作）武本糸会（作画）&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊少年シリウス&lt;/li&gt;
 &lt;li&gt;ファンタジー度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;獣かわいい度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;孤高度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;シドニアの騎士&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%82%B7%E3%83%89%E3%83%8B%E3%82%A2%E3%81%AE%E9%A8%8E%E5%A3%AB&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_shidonia.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;太陽系が奇居子（ガウナ）と呼ばれる謎の生命体によって破壊されてから1000年後の世界。人類の繁殖と生産を維持しながら宇宙を旅する播種船・シドニアに暮らす主人公、谷風長道が人型兵器「衛人」の操縦士訓練生となり、仲間とともにガウナとの戦闘を繰り広げる。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%B7%E3%83%89%E3%83%8B%E3%82%A2%E3%81%AE%E9%A8%8E%E5%A3%AB" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：弐瓶勉&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;弐瓶ワール度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;SF度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ガウナ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;多重人格探偵サイコ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E5%A4%9A%E9%87%8D%E4%BA%BA%E6%A0%BC%E6%8E%A2%E5%81%B5%E3%82%B5%E3%82%A4%E3%82%B3&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_saiko.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;刑事・小林洋介が恋人の復讐のために猟奇殺人犯を殺害したのがきっかけで現れた人格・雨宮一彦は探偵になった。その後雨宮は何人もの猟奇殺人犯に関わることになるが、殺人犯たちの左眼には一様にバーコードの痣があり、雨宮自身の左眼にも同じものがあった。そして雨宮は事件の背後にある巨大な陰謀と自身の正体を知ることになる。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E5%A4%9A%E9%87%8D%E4%BA%BA%E6%A0%BC%E6%8E%A2%E5%81%B5%E3%82%B5%E3%82%A4%E3%82%B3" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：大塚英志（原作）田島昭宇（作画）&lt;/li&gt;
 &lt;li&gt;掲載誌：ヤングエース&lt;/li&gt;
 &lt;li&gt;サイコパス度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ドラマ化面白そう度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ドラマ化難しそう度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;天地明察&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E5%A4%A9%E5%9C%B0%E6%98%8E%E5%AF%9F&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_tenchi.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;幕府の碁打ち、渋川春海（二代目安井算哲）は、碁の名門四家の一員でありながら真剣勝負の許されないお城碁の現状に飽きており、趣味の算術や天文観測　に没頭する始末。そんな時、算術絵馬が多数奉納されているという神社に出かけた春海は、全ての問題を一瞥のみで解いていった若い武士の存在に衝撃を受ける。その武士の名は「関」。春海の退屈な日常はこの日を境に大きく変わることになる……！&lt;br&gt;&lt;a href="http://kc.kodansha.co.jp/product/top.php/1234640978" target="_blank"&gt;アフタヌーン｜天地明察（１）｜作品紹介｜講談社コミックプラス&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：冲方丁（原作）槇えびし（作画）&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;映画にもなってる度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;画がやさしい度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;人がやさしい度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;ワンパンマン&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%AF%E3%83%B3%E3%83%91%E3%83%B3%E3%83%9E%E3%83%B3&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_one.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;就職活動に行き詰る主人公サイタマは、一人の少年とその命を狙う怪人カニランテに遭遇する。「ヒーローになりたい」という子供の頃の夢を思い出し、奮起したサイタマは命懸けの戦いで怪人を倒し少年を救う。それをきっかけにサイタマはヒーローとなるためにトレーニングに励み、頭髪がすべて抜け落ちてしまうほど自分を追い込んだ末に、最強とも言える力を手に入れた。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%AF%E3%83%B3%E3%83%91%E3%83%B3%E3%83%9E%E3%83%B3" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：ONE（原作）村田雄介（作画）&lt;/li&gt;
 &lt;li&gt;掲載誌：となりのヤングジャンプ&lt;/li&gt;
 &lt;li&gt;ワンパンチ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;主人公最強度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ギャグ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;惡の華&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E6%83%A1%E3%81%AE%E8%8F%AF&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_aku.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;クラスの美少女・佐伯奈々子に密かに想いを寄せる春日高男。ある日の放課後、出来心により彼女の体操着を盗んでしまうが、その様子は嫌われ者の女子・仲村佐和に目撃されていた。窮地に陥り、仲村からの無茶な要求に翻弄される中、意外なきっかけから佐伯と付き合うことになり、春日は恋心と背徳の自己矛盾に苛まれる。そんな彼に呼応するかの如く、佐伯も内に秘めた意思を徐々に示すようになる。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E6%83%A1%E3%81%AE%E8%8F%AF" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：押見修造&lt;/li&gt;
 &lt;li&gt;掲載誌：別冊少年マガジン&lt;/li&gt;
 &lt;li&gt;クソムシ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;主人公もてまくり度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;恥ずかしくなる度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;冒険エレキテ島&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E5%86%92%E9%99%BA%E3%82%A8%E3%83%AC%E3%82%AD%E3%83%86%E5%B3%B6&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_boken.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;最愛の祖父の遺志を継ぎ、めげない孤高の女パイロットは、愛猫とともに幻の　浮き島「エレキテ島」を追い求める。どこかユーモラス。何度でもみずみずしい。美しく表現豊かな画を約束する天才・鶴田謙二の最新作。&lt;br&gt;&lt;a href="http://kc.kodansha.co.jp/content/top.php/1000005729" target="_blank"&gt;アフタヌーン｜冒険エレキテ島｜作品紹介｜講談社コミックプラス&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：鶴田謙二 &lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;ラピュタ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;世界観好き度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;長い目で掲載待つ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;</description><link>http://norm-design.blogspot.com/2013/09/2.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-3390218519453867670</guid><pubDate>Sat, 24 Aug 2013 18:17:00 +0000</pubDate><atom:updated>2014-04-01T03:25:25.677+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">disabled</category><title>[CSS] 万能Disabled CSS - 無効化 CSS</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
&lt;style type="text/css"&gt;
&lt;!--
.disabled, .disabled:hover, .disabled:visited, .disabled:focus {
 background:#f6f6f6;
 border:#eee 1px solid;
 -webkit-box-shadow:none;
 box-shadow:none;
 text-shadow:none;
 color:#ddd;
 cursor:default;
 outline:none;
}
--&gt;
&lt;/style&gt;
&lt;p&gt;指定した要素を無効化状態の見た目にする万能Disabled CSSです。&lt;/p&gt;
 &lt;div class="ui"&gt;
  &lt;h2&gt;DEMO&lt;/h2&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;通常時&lt;/span&gt;&lt;/h3&gt;
  &lt;a class="btn btn-name1" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB1" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC1" href="#"&gt;button&lt;/a&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;無効化&lt;/span&gt;&lt;/h3&gt;
  &lt;a class="btn btn-name1 disabled" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB1 disabled" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC1 disabled" href="#"&gt;button&lt;/a&gt;
  &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;a class="btn btn-固有名 disabled" href="#"&gt;button&lt;/a&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.disabled, .disabled:hover, .disabled:visited, .disabled:focus {
 border:#eee 1px solid;
 background:#f6f6f6;
 -webkit-box-shadow:none;
 box-shadow:none;
 text-shadow:none;
 color:#ddd;
 cursor:default;
 outline:none;
}
&lt;/pre&gt;</description><link>http://norm-design.blogspot.com/2013/08/css-disabled-css-css.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-1888003564372532679</guid><pubDate>Sat, 24 Aug 2013 07:30:00 +0000</pubDate><atom:updated>2014-03-25T19:15:59.978+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">components</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Buttons</title><description>&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
&lt;p&gt;ボタンいろいろ。フラット、フラット立体、グラデボタンで色違い。&lt;/p&gt;
 &lt;div class="ui"&gt;
  &lt;h2&gt;DEMO&lt;/h2&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a - 1 2 3 4 5 6 7 8&lt;/span&gt;&lt;/h3&gt;
  &lt;a class="btn btn-name1" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name2" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name3" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name4" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name5" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name6" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name7" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-name8" href="#"&gt;button&lt;/a&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b - 1 2 3 4 5 6 7 8&lt;/span&gt;&lt;/h3&gt;
  &lt;a class="btn btn-3d btn-nameB1" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB2" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB3" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB4" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB5" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB6" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB7" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-3d btn-nameB8" href="#"&gt;button&lt;/a&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c - 1 2 3 4 5 6 7 8&lt;/span&gt;&lt;/h3&gt;
  &lt;a class="btn btn-grad btn-nameC1" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC2" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC3" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC4" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC5" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC6" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC7" href="#"&gt;button&lt;/a&gt;&lt;a class="btn btn-grad btn-nameC8" href="#"&gt;button&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;a class="btn btn-固有名" href="#"&gt;button&lt;/a&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* -------------------- buttons -------------------- */
/* 共通 */
.btn {
 margin:.5em;
}
.btn {
 display:inline-block;
 min-width:10em;
 line-height:1;
 padding:1em;
 border-radius: 4px;
 text-align:center;
 text-transform: capitalize;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 font-size:14px;
 font-weight:bold;
 color:#fff;
 text-decoration:none;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.btn:hover {
 color:#fff;
}
.btn:visited, .btn:active {
 color:#fff;
}
/* a-1 */
.btn-name1 {
 border:#D6D6D6 1px solid;
 background:#eee;
 color:#333;
}
.btn-name1:hover {
 border:#C1C1C1 1px solid;
 background:#D9D9D9;
 color:#333;
}
.btn-name1:visited, .btn-name1:active {
 color:#333;
}
/* a-2 */
.btn-name2 {
 border:#0E0E0E 1px solid;
 background:#2D2D2D;
}
.btn-name2:hover {
 border:#000 1px solid;
 background:#1F1F1F;
}
/* a-3 */
.btn-name3 {
 border:#1A86CE 1px solid;
 background:#3498DB;
}
.btn-name3:hover {
 border:#0F7CC4 1px solid;
 background:#258ACE;
}
/* a-4 */
.btn-name4 {
 border:#37374F 1px solid;
 background:#44445E;
}
.btn-name4:hover {
 border:#2E2E44 1px solid;
 background:#37374F;
}
/* a-5 */
.btn-name5 {
 border:#C10931 1px solid;
 background:#E00034;
}
.btn-name5:hover {
 border:#AD062B 1px solid;
 background:#C10931;
}
/* a-6 */
.btn-name6 {
 border:#E56510 1px solid;
 background:#F7761F;
}
.btn-name6:hover {
 border:#D65C0A 1px solid;
 background:#E56510;
}
/* a-7 */
.btn-name7 {
 border:#EABB00 1px solid;
 background:#FFCF00;
 color:#333;
}
.btn-name7:hover {
 border:#D3A900 1px solid;
 background:#EABB00;
 color:#333;
}
.btn-name7:visited, .btn-name7:active {
 color:#333;
}
/* a-8 */
.btn-name8 {
 border:#389138 1px solid;
 background:#47A447;
}
.btn-name8:hover {
 border:#2B7F2B 1px solid;
 background:#389138;
}
/* -------------------- buttons 3d -------------------- */
/* 共通 */
.btn-3d {
 border-width: 0 0 3px 0;
 border-style: solid;
}
/* b-1 */
.btn-nameB1 {
 border-color:#BCBCBC;
 background:#eee;
 color:#333;
}
.btn-nameB1:hover {
 background:#D9D9D9;
 color:#333;
}
.btn-nameB1:visited, .btn-nameB1:active {
 color:#333;
}
/* b-2 */
.btn-nameB2 {
 border-color:#0E0E0E;
 background:#2D2D2D;
}
.btn-nameB2:hover {
 background:#1F1F1F;
}
/* b-3 */
.btn-nameB3 {
 border-color:#157CC1;
 background:#3498DB;
}
.btn-nameB3:hover {
 background:#258ACE;
}
/* b-4 */
.btn-nameB4 {
 border-color:#2B2B3F;
 background:#44445E;
}
.btn-nameB4:hover {
 background:#37374F;
}
/* b-5 */
.btn-nameB5 {
 border-color:#AA0529;
 background:#E00034;
}
.btn-nameB5:hover {
 background:#C10931;
}
/* b-6 */
.btn-nameB6 {
 border-color:#C64F05;
 background:#F7761F;
}
.btn-nameB6:hover {
 background:#E56510;
}
/* b-7 */
.btn-nameB7 {
 border-color:#CC9F00;
 background:#FFCF00;
 color:#333;
}
.btn-nameB7:hover {
 background:#EABB00;
 color:#333;
}
.btn-nameB7:visited, .btn-nameB7:active {
 color:#333;
}
/* b-8 */
.btn-nameB8 {
 border-color:#2A7A2A;
 background:#47A447;
}
.btn-nameB8:hover {
 background:#389138;
}
/* -------------------- buttons grad -------------------- */
/* 共通 */
.btn-grad {
 box-shadow:0 1px 0 rgba(255,255,255,.3) inset;
 -webkit-box-shadow:0 1px 0 rgba(255,255,255,.3) inset;
 transition: none;
 -webkit-transition: none;
}
/* c-1 */
.btn-nameC1 {
 border:#D6D6D6 1px solid;
 background:#eee;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #eee), color-stop(0.00, #fff));
 background: -webkit-linear-gradient(#fff, #eee);
 background: -o-linear-gradient(#fff, #eee);
 background: linear-gradient(#fff, #eee);
 color:#333;
}
.btn-nameC1:hover {
 background:#eee;
 color:#333;
}
.btn-nameC1:visited, .btn-nameC1:active {
 color:#333;
}
/* c-2 */
.btn-nameC2 {
 border:#0E0E0E 1px solid;
 background:#2D2D2D;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #2D2D2D), color-stop(0.00, #454545));
 background: -webkit-linear-gradient(#454545, #2D2D2D);
 background: -o-linear-gradient(#454545, #2D2D2D);
 background: linear-gradient(#454545, #2D2D2D);
}
.btn-nameC2:hover {
 background:#2D2D2D;
}
/* c-3 */
.btn-nameC3 {
 border:#1A86CE 1px solid;
 background:#3498DB;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #1c81c4), color-stop(0.00, #3498DB));
 background: -webkit-linear-gradient(#3498DB, #1c81c4);
 background: -o-linear-gradient(#3498DB, #1c81c4);
 background: linear-gradient(#3498DB, #1c81c4);
}
.btn-nameC3:hover {
 background:#1c81c4;
}
/* c-4 */
.btn-nameC4 {
 border:#37374F 1px solid;
 background:#44445E;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #44445E), color-stop(0.00, #5a5a81));
 background: -webkit-linear-gradient(#5a5a81, #44445E);
 background: -o-linear-gradient(#5a5a81, #44445E);
 background: linear-gradient(#5a5a81, #44445E);
}
.btn-nameC4:hover {
 background:#44445E;
}
/* c-5 */
.btn-nameC5 {
 border:#C10931 1px solid;
 background:#E00034;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #b8002b), color-stop(0.00, #E00034));
 background: -webkit-linear-gradient(#E00034, #b8002b);
 background: -o-linear-gradient(#E00034, #b8002b);
 background: linear-gradient(#E00034, #b8002b);
}
.btn-nameC5:hover {
 background:#b8002b;
}
/* c-6 */
.btn-nameC6 {
 border:#E56510 1px solid;
 background:#f78436;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #ed670c), color-stop(0.00, #f78436));
 background: -webkit-linear-gradient(#f78436, #ed670c);
 background: -o-linear-gradient(#f78436, #ed670c);
 background: linear-gradient(#f78436, #ed670c);
}
.btn-nameC6:hover {
 background:#ed670c;
}
/* c-7 */
.btn-nameC7 {
 border:#EABB00 1px solid;
 background:#FEFE00;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #FFCF00), color-stop(0.00, #FEFE00));
 background: -webkit-linear-gradient(#FEFE00, #FFCF00);
 background: -o-linear-gradient(#FEFE00, #FFCF00);
 background: linear-gradient(#FEFE00, #FFCF00);
 color:#333;
}
.btn-nameC7:hover {
 background:#FFCF00;
 color:#333;
}
.btn-nameC7:visited, .btn-nameC7:active {
 color:#333;
}
/* c-8 */
.btn-nameC8 {
 border:#389138 1px solid;
 background:#5CB85C;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #47A447), color-stop(0.00, #5CB85C));
 background: -webkit-linear-gradient(#5CB85C, #47A447);
 background: -o-linear-gradient(#5CB85C, #47A447);
 background: linear-gradient(#5CB85C, #47A447);
}
.btn-nameC8:hover {
 background:#47A447;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-boxshadow" target="_blank"&gt;CSS3 Box-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gradients" target="_blank"&gt;CSS Gradients&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/08/ui-ui-components-buttons.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6824254118562371161</guid><pubDate>Sun, 28 Jul 2013 09:27:00 +0000</pubDate><atom:updated>2014-04-04T23:25:21.438+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">:after</category><category domain="http://www.blogger.com/atom/ns#">:before</category><category domain="http://www.blogger.com/atom/ns#">css</category><category domain="http://www.blogger.com/atom/ns#">疑似要素</category><title>[CSS] 疑似要素を使って画像にワンポイントのデザイン</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="points"&gt;
  &lt;div&gt;
   &lt;div class="image point-triangle-b"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;/div&gt;
   &lt;p&gt;①画像の下に矢印のような三角をつける。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-l"&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;②画像の左にラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-lv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;③画像の左に縦書きラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-tv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;④画像の上から縦書きラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span class="point-ribbon point-ribbon-l"&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑤画像の左にリボン。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span class="point-ribbon point-ribbon-tv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑥画像の上から縦書きリボン。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image point-triangle point-triangle-rt"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑦右上に三角ラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image point-triangle point-triangle-rb"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑧右下に三角ラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image point-triangle point-triangle-lt"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑨左上に三角ラベル。&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="image point-triangle point-triangle-lb"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/thumb3.jpg" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
   &lt;p&gt;⑩左下に三角ラベル。&lt;/p&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;h2&gt;HTML&lt;/h2&gt;
 &lt;pre class="brush: html;"&gt;
&lt;div class="points"&gt;
 &lt;div&gt;
  &lt;div class="image point-triangle-b"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;/div&gt;
  &lt;p&gt;①画像の下に矢印のような三角をつける。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-l"&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;②画像の左にラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-lv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;③画像の左に縦書きラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span class="point-sticky point-sticky-tv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;④画像の上から縦書きラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span class="point-ribbon point-ribbon-l"&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑤画像の左にリボン。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span class="point-ribbon point-ribbon-tv"&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑥画像の上から縦書きリボン。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image point-triangle point-triangle-rt"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑦右上に三角ラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image point-triangle point-triangle-rb"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑧右下に三角ラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image point-triangle point-triangle-lt"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑨左上に三角ラベル。&lt;/p&gt;
 &lt;/div&gt;
 &lt;div&gt;
  &lt;div class="image point-triangle point-triangle-lb"&gt;&lt;img src="任意の画像" width="300" height="180"&gt;&lt;span&gt;NEW&lt;/span&gt;&lt;/div&gt;
  &lt;p&gt;⑩左下に三角ラベル。&lt;/p&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
 &lt;h2&gt;CSS&lt;/h2&gt;
 &lt;pre class="brush: css;"&gt;
.points &gt; div {
 display: inline-block;
 width: 200px;
 margin-right: 15px;
 vertical-align: top;
}
.points p {
 margin: 1em 0;
}
/* 共通 */
.points .image {
 position: relative;
}
/* ①triangle-b */
.point-triangle-b:after {
 position: absolute;
 content: " ";
 bottom: 0;
 left: 50%;
 height: 0;
 width: 0;
 border:10px solid transparent;
 border-bottom:10px solid #fff;
 margin-left: -10px;
}
/* ②③④sticky */
.point-sticky {
 position: absolute;
 line-height: 1;
 background: #FF797D;
 font-size: 12px;
 color: #fff;
}
.point-sticky:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
/* ②sticky-l */
.point-sticky-l {
 top: .5em;
 left: -6px;
 padding: .2em;
}
.point-sticky-l:after {
 left: 0;
 top: 100%;
 border-top:6px solid #C83539;
 border-left:6px solid transparent;
}
/* ③sticky-lv */
.point-sticky-lv {
 top: .5em;
 left: -6px;
 width: 1.5em;
 padding: .2em;
 word-wrap: break-word;
 text-align: center;
}
.point-sticky-lv:after {
 left: 0;
 top: 100%;
 border-top:6px solid #C83539;
 border-left:6px solid transparent;
}
/* ④sticky-tv */
.point-sticky-tv {
 top: -.5em;
 left: .5em;
 width: 1.5em;
 padding: .2em;
 word-wrap: break-word;
 text-align: center;
}
.point-sticky-tv:after {
 left: 100%;
 top: 0;
 border-bottom:6px solid #C83539;
 border-right:6px solid transparent;
}
/* ⑤⑥ribbon */
.point-ribbon {
 position: absolute;
 background: #FF797D;
 font-size: 12px;
 color: #fff;
}
.point-ribbon:before {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
.point-ribbon:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
/* ⑤ribbon-l */
.point-ribbon-l {
 top: .5em;
 left: -6px;
 height: 1.5em;
 line-height: 1.5;
 padding-left: .5em;
}
.point-ribbon-l:before {
 left: 0;
 top: 100%;
 border-top:6px solid #C83539;
 border-left:6px solid transparent;
}
.point-ribbon-l:after {
 left: 100%;
 bottom: 0;
 border:.8em solid #FF797D;
 border-right:.7em solid transparent;
}
/* ⑥ribbon-tv */
.point-ribbon-tv {
 top: -.5em;
 left: .5em;
 width: 1.5em;
 line-height: 1;
 padding: .25em .25em 0;
 word-wrap: break-word;
 text-align: center;
}
.point-ribbon-tv:before {
 left: 100%;
 top: 0;
 border-bottom:6px solid #C83539;
 border-right:6px solid transparent;
}
.point-ribbon-tv:after {
 left: 0;
 top: 100%;
 border:.8em solid #FF797D;
 border-bottom:.7em solid transparent;
}
/* ⑦⑧⑨⑩triangle */
.point-triangle {
 position: relative;
}
.point-triangle:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
.point-triangle span {
 position: absolute;
 content: " ";
 font-size: 12px;
 font-weight: bold;
 color: #fff;
 z-index:100;
}
/* ⑦triangle-rt */
.point-triangle-rt:after {
 top: 0;
 right: 0;
 border-bottom:3em solid transparent;
 border-right:3em solid #FF797D;
}
.point-triangle-rt span {
 top: .5em;
 right: .2em;
 transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
}
/* ⑧triangle-rb */
.point-triangle-rb:after {
 bottom: 0;
 right: 0;
 border-top:3em solid transparent;
 border-right:3em solid #FF797D;
}
.point-triangle-rb span {
 bottom: .6em;
 right: 0;
 transform: rotate(-45deg);
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
}
/* ⑨triangle-lt */
.point-triangle-lt:after {
 top: 0;
 left: 0;
 border-bottom:3em solid transparent;
 border-left:3em solid #FF797D;
}
.point-triangle-lt span {
 top: .5em;
 left: .2em;
 transform: rotate(-45deg);
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
}
/* ⑩triangle-lb */
.point-triangle-lb:after {
 bottom: 0;
 left: 0;
 border-top:3em solid transparent;
 border-left:3em solid #FF797D;
}
.point-triangle-lb span {
 bottom: .5em;
 left: .2em;
 transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
}
&lt;/pre&gt;
 &lt;h2&gt;CSS対応状況&lt;/h2&gt;
 &lt;ul class="link"&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://caniuse.com/#feat=transforms2d" target="_blank"&gt;CSS3 Transforms&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
</description><link>http://norm-design.blogspot.com/2014/03/blog-post_25.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6770947312462873873</guid><pubDate>Sun, 07 Jul 2013 07:35:00 +0000</pubDate><atom:updated>2014-03-25T19:04:06.722+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">tab</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Tab 切替UIデザインいろいろ</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;script type="text/javascript"&gt;
$(function(){
$(".tab li").click(function(){
 var index = $(this).parent(".tab").children("li").index(this);
 $(this).siblings("li").removeClass("active");
 $(this).addClass("active");
 $(this).parent(".tab").nextAll("div").hide(); 
 $(this).parent(".tab").nextAll("div").eq(index).show(); 
});
})
&lt;/script&gt;
&lt;style type="text/css"&gt;
&lt;!--
/*基本設定*/
.navi &gt; div {
 display:none;
 padding: 1em 0 0;
}
.navi .show {
 display:block;
}
.tab &gt; li {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 cursor:pointer;
 font-size: 12px;
 font-weight: bold;
 text-transform: uppercase;
}
.tab &gt; li.active {
 cursor: default;
}
--&gt;
&lt;/style&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="navi"&gt;
 &lt;ul class="tab"&gt;
  &lt;li class="active"&gt;任意メニュー&lt;/li&gt;&lt;li&gt;任意メニュー&lt;/li&gt;&lt;li&gt;任意メニュー&lt;/li&gt;
 &lt;/ul&gt;
 &lt;div class="show"&gt;任意コンテンツ&lt;/div&gt;
 &lt;div&gt;任意コンテンツ&lt;/div&gt;
 &lt;div&gt;任意コンテンツ&lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS（共通）&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/*基本設定*/
.navi &gt; div {
 display:none;
 padding: 1em 0 0;
}
.navi .show {
 display:block;
}
.tab &gt; li {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
 cursor:pointer;
 font-size: 14px;
 text-transform: uppercase;
}
.tab &gt; li.active {
 cursor: default;
}
&lt;/pre&gt;
&lt;h2&gt;JS&lt;/h2&gt;
&lt;p&gt;切替のためのjsは『&lt;a href="http://html-five.jp/177/" target="_blank"&gt;jQuery（＋CSS3）で作るタブ切替えパネル（２段タブ対応）&lt;/a&gt;』こちらのサイトのものをカスタマイズして利用しています。同じページ内に複数設置が可能なことと、入れ子にも対応しているところが大変便利です。&lt;/p&gt;
&lt;pre class="brush: js;"&gt;
$(function(){
$(".tab li").click(function(){
 var index = $(this).parent(".tab").children("li").index(this);
 $(this).siblings("li").removeClass("active");
 $(this).addClass("active");
 $(this).parent(".tab").nextAll("div").hide(); 
 $(this).parent(".tab").nextAll("div").eq(index).show(); 
});
})
&lt;/pre&gt;
 &lt;h2&gt;Demo：ベーシックなタブデザイン&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo8*/
.demo8 .tab {
 padding-left: 1em;
 border-bottom: #ccc 1px solid;
}
.demo8 .tab li {
 position: relative;
 top: 1px;
 display:inline-block;
 padding: .6em 1em;
 background: #f5f5f5;
 border: #ccc 1px solid;
 border-left: none;
 border-radius:3px 3px 0 0;
 color: #999;
}
.demo8 .tab li:first-child {
 border-left: #ccc 1px solid;
}
.demo8 .tab .active, .demo8 .tab .active:hover {
 background: #fff;
 border-bottom: #fff 1px solid;
 color: #333;
}
.demo8 .tab &gt; :hover {
 background: #eee;
 color: #666;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo8"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 padding-left: 1em;
 border-bottom: #ccc 1px solid;
}
.tab li {
 position: relative;
 top: 1px;
 display:inline-block;
 padding: .6em 1em;
 background: #f5f5f5;
 border: #ccc 1px solid;
 border-left: none;
 border-radius:3px 3px 0 0;
 color: #999;
}
.tab li:first-child {
 border-left: #ccc 1px solid;
}
.tab .active, .tab .active:hover {
 background: #fff;
 border-bottom: #fff 1px solid;
 color: #333;
}
.tab &gt; :hover {
 background: #eee;
 color: #666;
}
&lt;/pre&gt;
 &lt;h2&gt;Demo：ベーシックなタブデザイン隙間あり&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo6*/
.demo6 .tab {
 padding-left: 1em;
 border-bottom: #ccc 1px solid;
}
.demo6 .tab li {
 position: relative;
 top: 1px;
 display:inline-block;
 padding: .6em 1em;
 background: #f5f5f5;
 border: #ccc 1px solid;
 border-radius:3px 3px 0 0;
 color: #999;
}
.demo6 .tab li + li {
 margin-left: 5px;
}
.demo6 .tab .active, .demo6 .tab .active:hover {
 background: #fff;
 border-bottom: #fff 1px solid;
 color: #333;
}
.demo6 .tab &gt; :hover {
 background: #eee;
 color: #666;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo6"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 padding-left: 1em;
 border-bottom: #ccc 1px solid;
}
.tab li {
 position: relative;
 top: 1px;
 display:inline-block;
 padding: .6em 1em;
 background: #f5f5f5;
 border: #ccc 1px solid;
 border-radius:3px 3px 0 0;
 color: #999;
}
.tab li + li {
 margin-left: 5px;
}
.tab .active, .tab .active:hover {
 background: #fff;
 border-bottom: #fff 1px solid;
 color: #333;
}
.tab &gt; :hover {
 background: #eee;
 color: #666;
}
&lt;/pre&gt;
 &lt;h2&gt;Demo：youtubeライクなやつ&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo1*/
.demo1 .tab {
 border-bottom: #eee 1px solid;
}
.demo1 .tab li {
 display:inline-block;
 padding: .6em 0;
 border-bottom: transparent 3px solid;
 color: #aaa;
}
.demo1 .tab li + li {
 margin-left: 1.5em;
}
.demo1 .tab .active, .demo1 .tab .active:hover {
 border-bottom: #C7243A 3px solid;
 color: #333;
}
.demo1 .tab &gt; :hover {
 border-bottom: #F28A8F 3px solid;
 color: #666;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo1"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 border-bottom: #eee 1px solid;
}
.tab li {
 display:inline-block;
 padding: .3em 0;
 border-bottom: transparent 3px solid;
 color: #aaa;
}
.tab li + li {
 margin-left: 1.5em;
}
.tab .active, .tab .active:hover {
 border-bottom: #C7243A 3px solid;
 color: #333;
}
.tab &gt; :hover {
 border-bottom: #F28A8F 3px solid;
 color: #666;
}
&lt;/pre&gt;
&lt;h2&gt;Demo：下線が重なる感じ&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo4*/
.demo4 .tab {
 border-bottom: #eee 3px solid;
}
.demo4 .tab li {
 position: relative;
 display:inline-block;
 padding: .6em 0;
 color: #aaa;
}
.demo4 .tab li + li {
 margin-left: 1.5em;
}
.demo4 .tab li.active:after, .demo4 .tab li:after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: -3px;
 height: 3px;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.demo4 .tab li.active:after, .demo4 .tab li.active:hover:after {
 background: #C7243A;
}
.demo4 .tab li:hover:after {
 background: #F28A8F;
}
.demo4 .tab .active, .demo4 .tab .active:hover {
 color: #333;
}
.demo4 .tab &gt; :hover {
 color: #666;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo4"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 border-bottom: #eee 3px solid;
}
.tab li {
 position: relative;
 display:inline-block;
 padding: .6em 0;
 color: #aaa;
}
.tab li + li {
 margin-left: 1.5em;
}
.tab li.active:after, .tab li:after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: -3px;
 height: 3px;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.tab li.active:after, .tab li.active:hover:after {
 background: #C7243A;
}
.tab li:hover:after {
 background: #F28A8F;
}
.tab .active, .tab .active:hover {
 color: #333;
}
.tab &gt; :hover {
 color: #666;
}
&lt;/pre&gt;
 &lt;h2&gt;Demo：三角が下からにょきっと&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo2*/
.demo2 .tab {
 background: #C7243A;
}
.demo2 .tab li {
 display:inline-block;
 position: relative;
 margin-left: 1.5em;
 padding: .7em 0;
 color: rgba(255, 255, 255, .4);
}
.demo2 .tab .active, .demo2 .tab .active:hover {
 color: rgba(255, 255, 255, 1);
}
.demo2 .tab &gt; :hover {
 color: rgba(255, 255, 255, .8);
}
.demo2 .tab &gt; :after {
 content: "";
 position: absolute;
 height: 0;
 width: 0;
 bottom: -8px;
 left: 50%;
 border:8px solid transparent;
 border-bottom:8px solid #fff;
 margin-left: -8px;
 transition: all 0.2s ease 0s;
 -webkit-transition: all 0.2s ease 0s;
}
.demo2 .tab &gt; :hover:after, .demo2 .tab .active:after{
 bottom: 0;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo2"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 background: #C7243A;
}
.tab li {
 display:inline-block;
 position: relative;
 margin-left: 1.5em;
 padding: .7em 0;
 color: rgba(255, 255, 255, .4);
}
.tab .active, .tab .active:hover {
 color: rgba(255, 255, 255, 1);
}
.tab &gt; :hover {
 color: rgba(255, 255, 255, .8);
}
.tab &gt; :after {
 content: "";
 position: absolute;
 height: 0;
 width: 0;
 bottom: -8px;
 left: 50%;
 border:8px solid transparent;
 border-bottom:8px solid #fff;
 margin-left: -8px;
 transition: all 0.2s ease 0s;
 -webkit-transition: all 0.2s ease 0s;
}
.tab &gt; :hover:after, .tab .active:after{
 bottom: 0;
}
&lt;/pre&gt;
 &lt;h2&gt;Demo：三角が下へにょきっと&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo3*/
.demo3 .tab {
 background: #C7243A;
}
.demo3 .tab li {
 display:inline-block;
 position: relative;
 margin-left: 1.5em;
 padding: .7em 0;
 color: rgba(255, 255, 255, .4);
}
.demo3 .tab .active, .demo3 .tab .active:hover {
 color: rgba(255, 255, 255, 1);
}
.demo3 .tab &gt; :hover {
 color: rgba(255, 255, 255, .8);
}
.demo3 .tab &gt; :after {
 content: "";
 position: absolute;
 height: 0;
 width: 0;
 top: 70%;
 left: 50%;
 border:8px solid transparent;
 border-top:8px solid #C7243A;
 margin-left: -8px;
 transition: all 0.2s ease 0s;
 -webkit-transition: all 0.2s ease 0s;
}
.demo3 .tab &gt; :hover:after, .demo3 .tab .active:after{
 top: 100%;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo3"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab {
 background: #C7243A;
}
.tab li {
 display:inline-block;
 position: relative;
 margin-left: 1.5em;
 padding: .7em 0;
 color: rgba(255, 255, 255, .4);
}
.tab .active, .tab .active:hover {
 color: rgba(255, 255, 255, 1);
}
.tab &gt; :hover {
 color: rgba(255, 255, 255, .8);
}
.tab &gt; :after {
 content: "";
 position: absolute;
 height: 0;
 width: 0;
 top: 70%;
 left: 50%;
 border:8px solid transparent;
 border-top:8px solid #C7243A;
 margin-left: -8px;
 transition: all 0.2s ease 0s;
 -webkit-transition: all 0.2s ease 0s;
}
.tab &gt; :hover:after, .tab .active:after{
 top: 100%;
}
&lt;/pre&gt;
&lt;h2&gt;Demo：四角で選択&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo5*/
.demo5 .tab li {
 display:inline-block;
 padding: .8em 1em;
 border-radius: 5px;
 color: #C7243A;
}
.demo5 .tab li + li {
 margin-left: .5em;
}
.demo5 .tab .active, .demo5 .tab .active:hover {
 background: #C7243A;
 color: #fff;
}
.demo5 .tab &gt; :hover {
 background: #eee;
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo5"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.tab li {
 display:inline-block;
 padding: .8em 1em;
 border-radius: 5px;
 color: #C7243A;
}
.tab li + li {
 margin-left: .5em;
}
.tab .active, .tab .active:hover {
 background: #C7243A;
 color: #fff;
}
.tab &gt; :hover {
 background: #eee;
}
&lt;/pre&gt;

&lt;h2&gt;Demo：縦型ナビ&lt;/h2&gt;
 &lt;style type="text/css"&gt;
&lt;!--
/*demo7*/
.demo7 {
 overflow:hidden;
}
.demo7 .tab {
 float: left;
 clear: left;
 width: 6em;
 padding: 1em 0 1em 1em;
 background: #C7243A;
}
.demo7 &gt; div {
 padding-left: 9em;
}
.demo7 .tab li {
 display: block;
 padding: .8em 1em;
 border-radius:3px 0 0 3px;
 color: #fff;
}
.demo7 .tab .active, .demo7 .tab .active:hover {
 background: #fff;
 color: #C7243A;
}
.demo7 .tab &gt; :hover {
 background: rgba(255, 255, 255, .2);
}
--&gt;
&lt;/style&gt;
 &lt;div class="navi demo7"&gt;
  &lt;ul class="tab"&gt;
   &lt;li class="active"&gt;business&lt;/li&gt;&lt;li&gt;sports&lt;/li&gt;&lt;li&gt;science&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="show"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla. &lt;/div&gt;
  &lt;div&gt;Duis suscipit, enim vitae lacinia luctus, orci libero adipiscing nisl, sed ornare diam ante non est. Suspendisse in cursus tellus. Maecenas accumsan velit vitae tellus pretium feugiat.&lt;/div&gt;
  &lt;div&gt;Quisque non vulputate tellus. Vivamus id aliquam enim. Duis vitae pretium leo. Donec ut accumsan odio, nec lobortis mauris. Sed sed nisl ipsum. In vehicula diam bibendum, porttitor est semper, tincidunt nulla.&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.navi {
 overflow:hidden;
}
.tab {
 float: left;
 clear: left;
 width: 6em;
 padding: 1em 0 1em 1em;
 background: #C7243A;
}
&gt; div {
 padding-left: 9em;
}
.tab li {
 display: block;
 padding: .8em 1em;
 border-radius:3px 0 0 3px;
 color: #fff;
}
.tab .active, .tab .active:hover {
 background: #fff;
 color: #C7243A;
}
.tab &gt; :hover {
 background: rgba(255, 255, 255, .2);
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/07/ui-ui-components-tab-ui.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-2782273535772320135</guid><pubDate>Sun, 02 Jun 2013 07:15:00 +0000</pubDate><atom:updated>2014-03-25T19:04:57.093+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><title>[CSS] ひとことコメントデザイン</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;style type="text/css"&gt;
&lt;!--
.speech &gt; div {
 margin:3em 2em;
}
/* モンロー */
.speech-right {
 display: inline-block;
 padding-left: 1em;
 transform: rotate(-5deg);
 -webkit-transform: rotate(-5deg);
 -ms-transform: rotate(-5deg);
}
.speech-right:before, .speech-right:after {
 content: " ";
 position: relative;
 display: block;
 border-top: #000 1px solid;
}
.speech-right:before {
 top: 0;
 left: -1em;
 width: 8em;
 padding-top: 1.2em;
 transform: rotate(-15deg);
 -webkit-transform: rotate(-15deg);
 -ms-transform: rotate(-15deg);
}
.speech-right:after {
 top: 1em;
 left: -.5em;
 width: 6em;
 transform: rotate(10deg);
 -webkit-transform: rotate(10deg);
 -ms-transform: rotate(10deg);
}
/* リー */
.speech-left {
 position: relative;
 top: 120px;
 display: inline-block;
 padding-left: 1em;
 transform: rotate(5deg);
 -webkit-transform: rotate(5deg);
 -ms-transform: rotate(5deg);
}
.speech-left:before, .speech-left:after {
 content: " ";
 position: absolute;
 display: block;
 border-top: #000 1px solid;
}
.speech-left:before {
 top: -1.5em;
 right: -1em;
 width: 8em;
 padding-top: 1.2em;
 transform: rotate(15deg);
 -webkit-transform: rotate(15deg);
 -ms-transform: rotate(15deg);
}
.speech-left:after {
 top: 2.5em;
 right: -1em;
 width: 6em;
 transform: rotate(-10deg);
 -webkit-transform: rotate(-10deg);
 -ms-transform: rotate(-10deg);
}
/* シュタイン */
.speech-top {
 position: relative;
 display: inline-block;
 text-align: center;
}
.speech-top + img {
 display: block;
 margin-top: 1em;
}
.speech-top:before, .speech-top:after {
 content: " ";
 position: absolute;
 display: block;
}
.speech-top:before {
 bottom: 0;
 left: -.5em;
 height: 3em;
 border-left: #000 1px solid;
 transform: rotate(-35deg);
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
}
.speech-top:after {
 bottom: 0;
 right: -.5em;
 height: 3em;
 border-right: #000 1px solid;
 transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
}
--&gt;
&lt;/style&gt;
&lt;p&gt;コメントの位置の微調整は必要になりますが、線の太さや色、角度などを変更することによって色々なパターンが作り出せそうです。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="speech"&gt;
  &lt;div&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/face1.png" width="200" height="200"&gt;
   &lt;div class="speech-right"&gt;Happy Birthday Mr. President!&lt;/div&gt;
  &lt;/div&gt;
  &lt;div&gt;
   &lt;div class="speech-left"&gt;Don't think! Feeeel!&lt;/div&gt;
   &lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/face2.png" width="200" height="200"&gt;&lt;/div&gt;
  &lt;div&gt;
   &lt;div class="speech-top"&gt;Imagination is more important&lt;br&gt;
    than knowledge.&lt;/div&gt;
   &lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/face3.png" width="200" height="200"&gt;&lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div&gt;
 &lt;img src="任意の画像" width="200" height="200"&gt;
 &lt;div class="speech-right"&gt;Happy Birthday Mr. President!&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
 &lt;div class="speech-left"&gt;Don't think! Feeeel!&lt;/div&gt;
 &lt;img src="任意の画像" width="200" height="200"&gt;&lt;/div&gt;
&lt;div&gt;
 &lt;div class="speech-top"&gt;Imagination is more important&lt;br&gt;than knowledge.&lt;/div&gt;
 &lt;img src="任意の画像" width="200" height="200"&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* モンロー */
.speech-right {
 display: inline-block;
 padding-left: 1em;
 transform: rotate(-5deg);
 -webkit-transform: rotate(-5deg);
 -ms-transform: rotate(-5deg);
}
.speech-right:before, .speech-right:after {
 content: " ";
 position: relative;
 display: block;
 border-top: #000 1px solid;
}
.speech-right:before {
 top: 0;
 left: -1em;
 width: 8em;
 padding-top: 1.2em;
 transform: rotate(-15deg);
 -webkit-transform: rotate(-15deg);
 -ms-transform: rotate(-15deg);
}
.speech-right:after {
 top: 1em;
 left: -.5em;
 width: 6em;
 transform: rotate(10deg);
 -webkit-transform: rotate(10deg);
 -ms-transform: rotate(10deg);
}
/* リー */
.speech-left {
 position: relative;
 top: 120px;
 display: inline-block;
 padding-left: 1em;
 transform: rotate(5deg);
 -webkit-transform: rotate(5deg);
 -ms-transform: rotate(5deg);
}
.speech-left:before, .speech-left:after {
 content: " ";
 position: absolute;
 display: block;
 border-top: #000 1px solid;
}
.speech-left:before {
 top: -1.5em;
 right: -1em;
 width: 8em;
 padding-top: 1.2em;
 transform: rotate(15deg);
 -webkit-transform: rotate(15deg);
 -ms-transform: rotate(15deg);
}
.speech-left:after {
 top: 2.5em;
 right: -1em;
 width: 6em;
 transform: rotate(-10deg);
 -webkit-transform: rotate(-10deg);
 -ms-transform: rotate(-10deg);
}
/* シュタイン */
.speech-top {
 position: relative;
 display: inline-block;
 text-align: center;
}
.speech-top + img {
 display: block;
 margin-top: 1em;
}
.speech-top:before, .speech-top:after {
 content: " ";
 position: absolute;
 display: block;
}
.speech-top:before {
 bottom: 0;
 left: -.5em;
 height: 3em;
 border-left: #000 1px solid;
 transform: rotate(-35deg);
 -webkit-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
}
.speech-top:after {
 bottom: 0;
 right: -.5em;
 height: 3em;
 border-right: #000 1px solid;
 transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=transforms2d" target="_blank"&gt;CSS3 Transforms&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/06/css.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-572092918510372145</guid><pubDate>Sat, 11 May 2013 06:51:00 +0000</pubDate><atom:updated>2014-03-25T19:05:11.290+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">recipe</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] レシピサイトのレスポンシブ対応HTMLデザインテンプレート</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;style type="text/css"&gt;
&lt;!--
/* cooking */
.cooking * {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.cooking {
 padding: 1em .5em 0;
 background: #FFE6BA;
 color: #4B2E1B;
}
.cooking h2, .cooking h3 {
 color: #4B2E1B;
}
.cooking h2 {
 margin: 0 0 .5em;
 padding: 0 .5em;
 font-size: 1.8em;
 color: #F7761F;
}
.cooking h3 {
 margin: 0 0 1em;
}
.cooking-img, .cooking-recipe {
 float: left;
 padding: 0 .5em;
}
.cooking-img {
 width: 60%;
}
.cooking-recipe {
 width: 40%;
}
.cooking-img img {
 padding: 5px;
 border-radius: 3px;
 background: #fff;
}
.cooking-recipe ul {
 position: relative;
 top: .8em;
}
.cooking-recipe li {
 border-top: #994C00 1px dotted;
 text-align: right;
}
.cooking-recipe li span, .cooking-recipe li i {
 position: relative;
 top: -.8em;
 background: #FFE6BA;
}
.cooking-recipe li span {
 float: left;
 padding-right: .5em;
}
.cooking-recipe li i {
 padding-left: .5em;
 font-style: normal;
}
.cooking-step {
 clear: both;
 padding-top: 1em;
}
.cooking-step h3 {
 padding: 0 .5em;
}
.cooking-step ol {
 font-size: 0;
}
.cooking-step li {
 display: inline-block;
 width: 25%;
 margin-bottom: 1em;
 padding: 0 .5em;
 font-size: 14px;
 vertical-align: top;
}
.cooking-step-img img {
 border-radius: 3px;
}
.cooking-step li p {
 margin-top: 1em;
}
.ol-style {
 counter-reset: step-img;
 list-style: none;
 padding-left: 0;
}
.ol-style div, .cooking-step li p {
 position: relative;
 padding:0 .3em;
}
.ol-style div:before {
 content: counter(step-img) "";
 counter-increment: step-img;
 position: absolute;
 top: -.5em;
 left: -.2em;
 width: 1.8em;
 height: 1.8em;
 background: #F7761F;
 border-radius: 50px;
 color: #fff;
 line-height: 1.8;
 text-align: center;
}
@media screen and (max-width: 50em) {
.cooking-step li {
 width: 33.33333%;
}
}
@media screen and (max-width: 45em) {
.cooking-img, .cooking-recipe {
 float: none;
 width: 100%;
}
.cooking h3 {
 margin-top: 1em;
}
}
@media screen and (max-width: 40em) {
.cooking-step li {
 width: 50%;
}
}
@media screen and (max-width: 30em) {
.cooking-step li {
 width: 100%;
}
}
--&gt;
&lt;/style&gt;
 &lt;p&gt;レシピサイトの投稿画面のHTMLデザインテンプレートです。レスポンシブに対応しています。ブレークポイントをem指定しているので、文字サイズを大きくしても見にくいレイアウトになることはありません。ポイントとしては、材料メニューを点線で左右をつなげている部分とcounter-incrementプロパティを使って作り方の番号を付与している所です。用意するのは料理と作り方の写真だけです。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="cooking"&gt;
  &lt;h2&gt;水菜のアーリオ・オーリオ&lt;/h2&gt;
  &lt;div class="cooking-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking1.jpg" width="400" height="300"&gt;&lt;/div&gt;
  &lt;div class="cooking-recipe"&gt;
   &lt;h3&gt;【材料】&lt;/h3&gt;
   &lt;ul&gt;
    &lt;li&gt;&lt;span&gt;水菜&lt;/span&gt;&lt;i&gt;1ワ&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;スパゲッティ&lt;/span&gt;&lt;i&gt;160g&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;アンチョビ&lt;/span&gt;&lt;i&gt;1枚&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;にんにく&lt;/span&gt;&lt;i&gt;2かけ&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;赤とうがらし&lt;/span&gt;&lt;i&gt;1本&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;すりごま&lt;/span&gt;&lt;i&gt;適量&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;塩&lt;/span&gt;&lt;i&gt;適量&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;オリーブ油&lt;/span&gt;&lt;i&gt;120ml&lt;/i&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div class="cooking-step"&gt;
   &lt;h3&gt;【作り方】&lt;/h3&gt;
   &lt;ol class="ol-style"&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;大きめのフライパンにオリーブ油120mlとにんにくを入れ、中火にかける。フツフツと泡立ってきたら弱火にしてじっくりといため、油に香りが移ったら、火を止めて赤とうがらしを加えて混ぜる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
     &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
     &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
    &lt;/li&gt;
   &lt;/ol&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="cooking"&gt;
 &lt;h2&gt;水菜のアーリオ・オーリオ&lt;/h2&gt;
 &lt;div class="cooking-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking1.jpg" width="400" height="300"&gt;&lt;/div&gt;
 &lt;div class="cooking-recipe"&gt;
  &lt;h3&gt;【材料】&lt;/h3&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;span&gt;水菜&lt;/span&gt;&lt;i&gt;1ワ&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;スパゲッティ&lt;/span&gt;&lt;i&gt;160g&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;アンチョビ&lt;/span&gt;&lt;i&gt;1枚&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;にんにく&lt;/span&gt;&lt;i&gt;2かけ&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;赤とうがらし&lt;/span&gt;&lt;i&gt;1本&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;すりごま&lt;/span&gt;&lt;i&gt;適量&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;塩&lt;/span&gt;&lt;i&gt;適量&lt;/i&gt;&lt;/li&gt;
   &lt;li&gt;&lt;span&gt;オリーブ油&lt;/span&gt;&lt;i&gt;120ml&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/div&gt;
 &lt;div class="cooking-step"&gt;
  &lt;h3&gt;【作り方】&lt;/h3&gt;
  &lt;ol class="ol-style"&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;大きめのフライパンにオリーブ油120mlとにんにくを入れ、中火にかける。フツフツと泡立ってきたら弱火にしてじっくりといため、油に香りが移ったら、火を止めて赤とうがらしを加えて混ぜる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
   &lt;li&gt;
    &lt;div class="cooking-step-img"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/cooking2.jpg" width="400" height="300"&gt;&lt;/div&gt;
    &lt;p&gt;水菜は5cm長さに切る。たっぷりの熱湯に塩（湯量の1％強）を入れ、スパゲッティを袋の表示時間どおりにゆでる。&lt;/p&gt;
   &lt;/li&gt;
  &lt;/ol&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.cooking * {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.cooking {
 padding: 1em .5em 0;
 background: #FFE6BA;
 color: #4B2E1B;
}
.cooking h2, .cooking h3 {
 color: #4B2E1B;
}
.cooking h2 {
 margin: 0 0 .5em;
 padding: 0 .5em;
 font-size: 1.8em;
 color: #F7761F;
}
.cooking h3 {
 margin: 0 0 1em;
}
.cooking-img, .cooking-recipe {
 float: left;
 padding: 0 .5em;
}
.cooking-img {
 width: 60%;
}
.cooking-recipe {
 width: 40%;
}
.cooking-img img {
 padding: 5px;
 border-radius: 3px;
 background: #fff;
}
.cooking-recipe ul {
 position: relative;
 top: .8em;
}
.cooking-recipe li {
 border-top: #994C00 1px dotted;
 text-align: right;
}
.cooking-recipe li span, .cooking-recipe li i {
 position: relative;
 top: -.8em;
 background: #FFE6BA;
}
.cooking-recipe li span {
 float: left;
 padding-right: .5em;
}
.cooking-recipe li i {
 padding-left: .5em;
 font-style: normal;
}
.cooking-step {
 clear: both;
 padding-top: 1em;
}
.cooking-step h3 {
 padding: 0 .5em;
}
.cooking-step ol {
 font-size: 0;
}
.cooking-step li {
 display: inline-block;
 width: 25%;
 margin-bottom: 1em;
 padding: 0 .5em;
 font-size: 14px;
 vertical-align: top;
}
.cooking-step-img img {
 border-radius: 3px;
}
.cooking-step li p {
 margin-top: 1em;
}
.ol-style {
 counter-reset: step-img;
 list-style: none;
 padding-left: 0;
}
.ol-style div, .cooking-step li p {
 position: relative;
 padding:0 .3em;
}
.ol-style div:before {
 content: counter(step-img) "";
 counter-increment: step-img;
 position: absolute;
 top: -.5em;
 left: -.2em;
 width: 1.8em;
 height: 1.8em;
 background: #F7761F;
 border-radius: 50px;
 color: #fff;
 line-height: 1.8;
 text-align: center;
}
@media screen and (max-width: 50em) {
.cooking-step li {
 width: 33.33333%;
}
}
@media screen and (max-width: 45em) {
.cooking-img, .cooking-recipe {
 float: none;
 width: 100%;
}
.cooking h3 {
 margin-top: 1em;
}
}
@media screen and (max-width: 40em) {
.cooking-step li {
 width: 50%;
}
}
@media screen and (max-width: 30em) {
.cooking-step li {
 width: 100%;
}
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-counters" target="_blank"&gt;CSS Counters&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/05/ui-html.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-1303364045596803875</guid><pubDate>Sat, 27 Apr 2013 19:18:00 +0000</pubDate><atom:updated>2014-03-25T17:04:43.899+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">diary</category><category domain="http://www.blogger.com/atom/ns#">漫画</category><title>メジャー誌以外のおすすめ漫画（連載中）</title><description>&lt;p&gt;メジャー誌の定義は独断と偏見で、週刊少年ジャンプ、ビッグコミックスピリッツ、ヤングマガジン、週刊少年サンデー、週刊少年マガジン、週刊ヤングジャンプ、モーニング、週刊少年チャンピオン、月刊少年マガジンとさせていただきます。&lt;/p&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;イムリ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%82%A4%E3%83%A0%E3%83%AA&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_imuri.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;支配民族「カーマ」は戦争によって惑星ルーンを凍結させ、隣星のマージへと移住した。それから4000年後、過去の戦争の記憶は風化し、カーマは他者の精神を侵犯する能力を用いて、奴隷民「イコル」を最下層とする階層社会を形成していた。ルーンの氷が溶け始め、カーマ達はかつてかつて古代戦争を争い、4000年の氷河期を経てその記憶を忘れ去った原住民「イムリ」の住む母星、ルーンへの移住を始めていた。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%A0%E3%83%AA" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：三宅乱丈&lt;/li&gt;
 &lt;li&gt;掲載誌：コミックビーム&lt;/li&gt;
 &lt;li&gt;ファンタジー度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;映像化して欲しい度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;名前覚えられない度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;ヒストリエ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%92%E3%82%B9%E3%83%88%E3%83%AA%E3%82%A8&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_historie.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;紀元前4世紀のギリシアやマケドニア王国・アケメネス朝ペルシアを舞台に、古代オリエント世界を描いた作品。マケドニア王国のアレクサンドロス大王に仕えた書記官エウメネスの波乱の生涯を描いている。エウメネスはプルタルコスの『英雄伝』（対比列伝）などにも登場する実在の人物である。エウメネスはギリシアの都市国家カルディアの名家の息子として育てられ、陰謀によって一時は奴隷に身を落とすものの、時代の荒波に揉まれながらその才能を開花させていく。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%92%E3%82%B9%E3%83%88%E3%83%AA%E3%82%A8" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：岩明均&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;主人公の生い立ち壮絶度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;紀元前の文明すごすぎ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;偉人に興味持つ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;ヴィンランド・サガ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%B4%E3%82%A3%E3%83%B3%E3%83%A9%E3%83%B3%E3%83%89%E3%83%BB%E3%82%B5%E3%82%AC&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_vinland.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;千年期の終わり頃、あらゆる地に現れ暴虐の限りを尽くした最強の民族、ヴァイキング。トルフィンと名づけられた彼は、幼くして戦場を生き場所とし、血煙の彼方に幻の大陸"ヴィンランド"を目指す!!&lt;br&gt;&lt;a href="http://afternoon.moae.jp/lineup/172" target="_blank"&gt;ヴィンランド・サガ / 幸村誠 - アフタヌーン公式サイト - モアイ&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：幸村誠&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;主人公の無双度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;略奪度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;歴史の勉強度：&lt;span class="comic_star"&gt;★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;チェーザレ 破壊の創造者&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%81%E3%82%A7%E3%83%BC%E3%82%B6%E3%83%AC%20%E7%A0%B4%E5%A3%8A%E3%81%AE%E5%89%B5%E9%80%A0%E8%80%85&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_cesare.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;1491年11月、ピサのサピエンツァ大学に16歳の青年アンジェロ・ダ・カノッサが編入してきた。大学での講義の最中、周囲の空気を読めない彼はその言動によってメディチ家の子息・ジョヴァンニの面子を潰してしまう。その仕返しに、ジョヴァンニに誘われた馬の遠乗りでアンジェロは騎乗している馬を暴走させられ、崖に落ちそうになる。だが、その寸前に一人の青年に助けられた。彼こそが名門貴族ボルジア家の後継者、チェーザレ・ボルジアであった。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%82%A7%E3%83%BC%E3%82%B6%E3%83%AC_%E7%A0%B4%E5%A3%8A%E3%81%AE%E5%89%B5%E9%80%A0%E8%80%85" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：惣領冬実&lt;/li&gt;
 &lt;li&gt;掲載誌：モーニング（例外：たまにしか連載載らないため）&lt;/li&gt;
 &lt;li&gt;貴族度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;宗教度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;政治度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;進撃の巨人&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E9%80%B2%E6%92%83&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_shingeki.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;繁栄を築き上げた人類は、突如出現した"天敵"「巨人」により滅亡の淵に立たされた。生き残った人類は、三重に築かれた「ウォール・マリア」、「ウォール・ローゼ」、「ウォール・シーナ」という巨大な城壁の内側に生活圏を確保することで、辛うじてその命脈を保っていた。城壁による平和を得てから約100年後。いつしか人類は巨人の脅威を忘れ、平和な日々の生活に埋没していた。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E9%80%B2%E6%92%83%E3%81%AE%E5%B7%A8%E4%BA%BA" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：諫山創&lt;/li&gt;
 &lt;li&gt;掲載誌：別冊少年マガジン&lt;/li&gt;
 &lt;li&gt;巨人度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;謎度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;紹介するまでもない度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;ドロヘドロ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%89%E3%83%AD%E3%83%98%E3%83%89%E3%83%AD&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_doro.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;「魔法使いの世界」から来た魔法使いによって、頭を爬虫類に変えられ、記憶を失った男、カイマン。そしてその友人、ニカイドウ。カイマンの口の中には謎の男が存在している。カイマンは自分の頭を元に戻すために、そして記憶を取り戻すためにニカイドウと共に「ホール」にやって来る魔法使いを狩っていく。彼は何者なのか、なぜ記憶がないのか、口の中の男は誰なのか。それはまだ……混沌の中。それが……ドロヘドロ！&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%89%E3%83%AD%E3%83%98%E3%83%89%E3%83%AD" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：林田球&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊IKKI&lt;/li&gt;
 &lt;li&gt;ダークファンタジー度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ドロヘドロ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;シュール度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;ハカイジュウ&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E3%83%8F%E3%82%AB%E3%82%A4%E3%82%B8%E3%83%A5%E3%82%A6&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_hakai.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;東京都立川市で、地震が発生し、その場にいた鷹代陽は気絶した。目が覚めると、同級生たちの死体があり、その傍らには謎の怪物がいた。陽はわけもわからぬまま立川から脱出しようとする。しかし、怪物は他の地域をも地獄に変えていく。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%8F%E3%82%AB%E3%82%A4%E3%82%B8%E3%83%A5%E3%82%A6" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：本田真吾&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊少年チャンピオン&lt;/li&gt;
 &lt;li&gt;バイオハザー度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;めちゃくちゃ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;はちゃめちゃ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;勇午&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E5%8B%87%E5%8D%88&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_yugo.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;成功率97.4%を誇るフリーの交渉人・別府勇午を主人公にした社会派サスペンス。『月刊アフタヌーン』連載版では主に海外が舞台となっている。毎回作者の綿密な現地取材に基づいて、各国の社会情勢、文化事情、宗教観、社会悪、必要悪にぶつかり、悩みながら解決の糸口を模索する勇午の姿が描かれた。ひとつのエピソードにつき、約1年程度の連載である（短編の日本編を除く）。『イブニング』連載版では、主に日本各地が舞台となっている。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E5%8B%87%E5%8D%88" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：真刈信二（原作）赤名修（作画）&lt;/li&gt;
 &lt;li&gt;掲載誌：月刊アフタヌーン&lt;/li&gt;
 &lt;li&gt;主人公のタフ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;伏線半端ない度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;新章またれる度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;亜人&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E4%BA%9C%E4%BA%BA&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_ajin.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;舞台は現代の日本。普通の高校生として生活していた「永井圭」は、ある日トラックに轢かれ死亡してしまう。しかし圭は人ならざる存在「亜人」であったため、即座に蘇生する。「亜人」は人類からすれば、ただの研究対象に過ぎず、日本国では極秘に亜人に対して非人道的な実験を行っていた。圭は「人間」による苛烈な差別や亜人コミュニティの過酷な洗礼をうけながらも生きる術を探していく。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E4%BA%9C%E4%BA%BA_%28%E6%BC%AB%E7%94%BB%29" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：桜井画門&lt;/li&gt;
 &lt;li&gt;掲載誌：good!アフタヌーン&lt;/li&gt;
 &lt;li&gt;不死身度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;臨床実験恐怖度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;差別度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;
&lt;!-- ===== start ===== --&gt;
&lt;h2&gt;軍鶏&lt;/h2&gt;
&lt;a href="http://www.amazon.co.jp/gp/search?field-keywords=%E8%BB%8D%E9%B6%8F&amp;index=blended&amp;tag=mozillajapan-fx-22&amp;sourceid=Mozilla-search&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;linkCode=qs" target="_blank"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/c_syamo.jpg"&gt;&lt;/a&gt;
&lt;blockquote class="comic"&gt;自分の両親を刺殺した優等生の少年・成嶋亮が少年院に入り、そこで出会った空手の達人・黒川健児に師事して「生き残るための空手」を身につけ出所してからは格闘界に入り、無軌道なバトルを繰り広げてゆく。&lt;br&gt;&lt;a href="http://ja.wikipedia.org/wiki/%E8%BB%8D%E9%B6%8F_%28%E6%BC%AB%E7%94%BB%29" target="_blank"&gt;wikipedia&amp;nbsp;&amp;nbsp;&lt;i class="fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;ul class="nomark"&gt;
 &lt;li&gt;作者：たなか亜希夫&lt;/li&gt;
 &lt;li&gt;掲載誌：イブニング&lt;/li&gt;
 &lt;li&gt;強さのインフレ度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;主人公の凶悪度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
 &lt;li&gt;ごたごた解決してよかった度：&lt;span class="comic_star"&gt;★★★★★&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ===== end ===== --&gt;</description><link>http://norm-design.blogspot.com/2013/04/blog-post.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-5135926284510669833</guid><pubDate>Sat, 02 Mar 2013 08:18:00 +0000</pubDate><atom:updated>2014-03-25T17:03:55.068+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">choreography</category><category domain="http://www.blogger.com/atom/ns#">Mike Song</category><title>[Choreography] Mike Song</title><description>&lt;img class="img" src="https://dl.dropboxusercontent.com/u/5743502/blog/img/mikesong.jpg" width="1440" height="900"&gt;
&lt;blockquote&gt;Mike Song is an internationally renowned choreographer and dancer.  At the age of 25, he has been a creative force behind several distinguished dance crews and projects such as America's Best Dance Crew's Kaba Modern, Step Up Revolution, BLAZE: World Tour, and KINJAZ.   With over 30 million views on his Youtube channel, he has established a presence as one of the most recognizable personas in the dance scene.&lt;br&gt;
 &lt;a href="http://www.mikesong.com/biography/" target="_blank"&gt;mikesong.com/biography/&lt;/a&gt;&lt;/blockquote&gt;
&lt;h2&gt;Mike Song :: "First Of The Year" by Skrillex (Dubstep) :: Urban Dance Camp&lt;/h2&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/2k0icW6kl7w" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;Mike Song :: "Wonderland" (Dubstep Remix) :: Urban Dance Camp&lt;/h2&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/fBUg_sHSbic" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;NINTENDO WII DANCE by Mike Song&lt;/h2&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/43uLJLvOrPc" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;Mike Song | KINJAZ | "Gramatik - Liquified"&lt;/h2&gt;
&lt;div class="youtube"&gt;&lt;iframe width="640" height="360" src="//www.youtube.com/embed/B51mhhhVGoA" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2&gt;関連サイト&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://www.youtube.com/user/mikeosong" target="_blank"&gt;Mike Song - YouTube&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://www.mikesong.com/" target="_blank"&gt;MIKESONG.COM&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="https://twitter.com/mikeosong" target="_blank"&gt;twitter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/03/choreography-mike-song.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-2835229811018793066</guid><pubDate>Sun, 24 Feb 2013 13:54:00 +0000</pubDate><atom:updated>2014-04-01T18:14:02.237+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">messaging</category><category domain="http://www.blogger.com/atom/ns#">mobile</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] UI Components : Mobile Messaging</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;p&gt;アプリなどでよく使われるメッセージUI&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/mobile.css"  /&gt;
 &lt;link rel="stylesheet" type="text/css" href="css/mobile.css"  /&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="message clearfix"&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Lionel Messi&lt;/h3&gt;Praesent facilisis, purus nec condime hendrerit, magna tortor gravida urna.&lt;time&gt;12:45 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Magna tortor gravida urna, id laoreet elit justo et est. Nulla dolor tortor.&lt;time&gt;12:46 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Luis Suárez&lt;/h3&gt;Kurus nec condime hendrerit urna.&lt;time&gt;12:47 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Curabitur in quam id sem gravida mollis a vitae libero. In vitae ultrices.&lt;time&gt;12:48 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people4.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Franck Ribery&lt;/h3&gt;Nunc suscipit felis.&lt;time&gt;13:00 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="message"&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Lionel Messi&lt;/h3&gt;Praesent facilisis, purus nec condime hendrerit, magna tortor gravida urna.&lt;time&gt;12:45 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Magna tortor gravida urna, id laoreet elit justo et est. Nulla dolor tortor.&lt;time&gt;12:46 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Luis Suárez&lt;/h3&gt;Kurus nec condime hendrerit urna.&lt;time&gt;12:47 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Curabitur in quam id sem gravida mollis a vitae libero. In vitae ultrices.&lt;time&gt;12:48 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people4.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Franck Ribery&lt;/h3&gt;Nunc suscipit felis.&lt;time&gt;13:00 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;div class="message"&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Lionel Messi&lt;/h3&gt;Praesent facilisis, purus nec condime hendrerit, magna tortor gravida urna.&lt;time&gt;12:45 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Magna tortor gravida urna, id laoreet elit justo et est. Nulla dolor tortor.&lt;time&gt;12:46 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Luis Suárez&lt;/h3&gt;Kurus nec condime hendrerit urna.&lt;time&gt;12:47 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Curabitur in quam id sem gravida mollis a vitae libero. In vitae ultrices.&lt;time&gt;12:48 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people4.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Franck Ribery&lt;/h3&gt;Nunc suscipit felis.&lt;time&gt;13:00 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="demo"&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;div class="message"&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Lionel Messi&lt;/h3&gt;Praesent facilisis, purus nec condime hendrerit, magna tortor gravida urna.&lt;time&gt;12:45 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Magna tortor gravida urna, id laoreet elit justo et est. Nulla dolor tortor.&lt;time&gt;12:46 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Luis Suárez&lt;/h3&gt;Kurus nec condime hendrerit urna.&lt;time&gt;12:47 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-me"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-right"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Andrés Iniesta&lt;/h3&gt;Curabitur in quam id sem gravida mollis a vitae libero. In vitae ultrices.&lt;time&gt;12:48 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="clearfix message-box message-you"&gt;
     &lt;div class="image"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people4.jpg"&gt;&lt;/div&gt;
     &lt;div class="text text-left"&gt;
      &lt;div class="text-inner"&gt;&lt;h3&gt;Franck Ribery&lt;/h3&gt;Nunc suscipit felis.&lt;time&gt;13:00 pm&lt;/time&gt;&lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;h2&gt;HTML&lt;/h2&gt;
 &lt;pre class="brush: html;"&gt;
&lt;div class="message"&gt;
 &lt;div class="clearfix message-box message-you"&gt;
  &lt;div class="image"&gt;&lt;img src="img/任意の画像.jpg"&gt;&lt;/div&gt;
  &lt;div class="text text-left"&gt;
   &lt;div class="text-inner"&gt;
    &lt;h3&gt;Lionel Messi&lt;/h3&gt;
    Praesent facilisis, purus nec condime hendrerit, magna tortor gravida urna.
    &lt;time&gt;12:45 pm&lt;/time&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="clearfix message-box message-me"&gt;
  &lt;div class="image"&gt;&lt;img src="img/任意の画像.jpg"&gt;&lt;/div&gt;
  &lt;div class="text text-right"&gt;
   &lt;div class="text-inner"&gt;
    &lt;h3&gt;Andrés Iniesta&lt;/h3&gt;
    Magna tortor gravida urna, id laoreet elit justo et est. Nulla dolor tortor.
    &lt;time&gt;12:46 pm&lt;/time&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="clearfix message-box message-you"&gt;
  &lt;div class="image"&gt;&lt;img src="img/任意の画像.jpg"&gt;&lt;/div&gt;
  &lt;div class="text text-left"&gt;
   &lt;div class="text-inner"&gt;
    &lt;h3&gt;Luis Suárez&lt;/h3&gt;
    Kurus nec condime hendrerit urna.
    &lt;time&gt;12:47 pm&lt;/time&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="clearfix message-box message-me"&gt;
  &lt;div class="image"&gt;&lt;img src="img/任意の画像.jpg"&gt;&lt;/div&gt;
  &lt;div class="text text-right"&gt;
   &lt;div class="text-inner"&gt;
    &lt;h3&gt;Andrés Iniesta&lt;/h3&gt;
    Curabitur in quam id sem gravida mollis a vitae libero. In vitae ultrices.
    &lt;time&gt;12:48 pm&lt;/time&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="clearfix message-box message-you"&gt;
  &lt;div class="image"&gt;&lt;img src="img/任意の画像.jpg"&gt;&lt;/div&gt;
  &lt;div class="text text-left"&gt;
   &lt;div class="text-inner"&gt;
    &lt;h3&gt;Franck Ribery&lt;/h3&gt;
    Nunc suscipit felis.
    &lt;time&gt;13:00 pm&lt;/time&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
 &lt;h2&gt;CSS&lt;/h2&gt;
 &lt;pre class="brush: css;"&gt;
/* -------------------- Mobile Messaging -------------------- */
/* 共通 */
* {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.clearfix:before, .clearfix:after {
 content: "";
 display: block;
 overflow: hidden;
}
.clearfix:after {
 clear: both;
}
.message .text-inner h3 {
 margin:0;
}
.message .text-inner time {
 display:block;
 text-align:right;
 font-size:12px;
 font-weight:normal;
 color:#bbb;
 text-transform:uppercase;
}
/* A
----------------------------------------------------------------------------------------------------*/
.message {
 padding:.5em .5em 0;
 background:#E5E5E5;
}
.message-box {
 margin-bottom:.6em;
}
.message-you .image {
 float:left;
 max-width: 3em;
 margin:0 1em 0 0;
}
.message-me .image {
 float:right;
 max-width: 2.4em;
 margin:0 0 0 1em;
}
.message-box .image img {
 border-radius: 3em;
}
.message-box .text {
 position: relative;
 border-radius:8px;
 box-shadow: 0 2px rgba(0,0,0,.1);
 -webkit-box-shadow: 0 2px rgba(0,0,0,.1);
 background:#fff;
}
.message-box .text:before {
 position: absolute;
 content: " ";
 height: 20px;
 width: 20px;
 transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 box-shadow: 2px 2px rgba(0,0,0,.1);
 -webkit-box-shadow: 2px 2px rgba(0,0,0,.1);
 background:#fff;
}
.message-box .text-inner {
 padding:.5em .7em;
 line-height:1.4;
 background:#fff;
 border-radius:8px;
 /* transform z-index hack */
 transform: rotate(0deg);
 -webkit-transform: rotate(0deg);
 -ms-transform: rotate(0deg);
 font-size:14px;
 color:#666;
}
.message-you .text {
 margin-left:3.8em;
}
.message-you .text:before {
 left: -2px;
 top: 10px;
}
.message-me .text {
 margin-right:3.2em;
}
.message-me .text:before {
 right: -2px;
 top: 10px;
}
.message-me .text-inner, .message-me .text, .message-me .text:before {
 background:#EAF4FB;
}
/* B
----------------------------------------------------------------------------------------------------*/
.message {
 background:#fff;
}
.message-box {
 padding:.5em;
 border-bottom:#eee 1px solid;
}
.message-you .image {
 float:left;
 max-width: 3em;
 margin:0 .5em 0 0;
}
.message-me .image {
 float:right;
 max-width: 2.4em;
 margin:0 0 0 .5em;
}
.message-box .image img {
 border-radius: 2px;
}
.message-box .text {
 line-height:1.4;
 font-size:14px;
 color:#666;
}
.message-you .text {
 margin-left:3.5em;
}
.message-me .text {
 margin-right:2.9em;
}
/* C
----------------------------------------------------------------------------------------------------*/
.message {
 padding:.5em;
 background:#fff;
}
.message-box {
}
.message-you .image {
 float:left;
 max-width: 3em;
 margin:0 .5em 0 0;
}
.message-me .image {
 float:right;
 max-width: 2.4em;
 margin:0 0 0 .5em;
}
.message-box .image img {
 margin-top:1em;
 border-radius: 2px;
}
.message-box .text {
 position: relative;
 padding:1em;
 border-radius:15px;
 background: #fff;
 line-height:1.4;
 font-size:14px;
 color:#666;
}
.message-box .text:after, .message-box .text:before {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
.message-you .text:after, .message-you .text:before {
 right: 100%;
 top: 2.2em;
}
.message-you .text:after {
 border:6px solid transparent;
 border-right:6px solid #fff;
}
.message-you .text:before {
 border:7px solid transparent;
 border-right:7px solid #ccc;
 margin-top: -1px;
}
.message-me .text:after, .message-me .text:before {
 left: 100%;
 top: 2em;
}
.message-me .text:after {
 border:6px solid transparent;
 border-left:6px solid #fff;
}
.message-me .text:before {
 border:7px solid transparent;
 border-left:7px solid #ccc;
 margin-top: -1px;
}
.message-you .text {
 margin-left:4em;
 border-left:1px solid #ccc;
}
.message-me .text {
 margin-right:3.4em;
 border-right:1px solid #ccc;
}
/* D
----------------------------------------------------------------------------------------------------*/
.message {
 padding:.8em .8em 0;
 background:#fff;
}
.message-box {
 margin-bottom:.8em;
}
.message-you .image {
 float:left;
 max-width: 3em;
 margin:0 .5em 0 0;
}
.message-me .image {
 float:right;
 max-width: 2.4em;
 margin:0 0 0 .5em;
}
.message-box .image img {
 margin-top:1em;
 border-radius: 2px;
}
.message-box .text {
 position: relative;
 padding:.5em .7em;
 border-radius:15px;
 background: #fff;
 line-height:1.4;
 font-size:14px;
 color:#666;
}
.message-you .text {
 margin-left:4em;
 background:#F1F0F0;
}
.message-me .text {
 margin-right:3.4em;
 background:#3498DB;
 color:rgba(255,255,255,.8);
}
.message-box .text:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
}
.message-you .text:after {
 right: 100%;
 top: 2.2em;
}
.message-you .text:after {
 border:6px solid transparent;
 border-right:6px solid #F1F0F0;
}
.message-me .text:after {
 left: 100%;
 top: 2em;
}
.message-me .text:after {
 border:6px solid transparent;
 border-left:6px solid #3498DB;
}
.message-me .text h3 {
 color:#fff;
}
.message-me .text time {
 color:rgba(255,255,255,.5);
}
&lt;/pre&gt;
 &lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-boxshadow" target="_blank"&gt;CSS3 Box-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=transforms2d" target="_blank"&gt;CSS3 Transforms&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=minmaxwh" target="_blank"&gt;CSS min/max-width/height&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-colors" target="_blank"&gt;CSS3 Colors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/02/ui-ui-components-mobile-messaging.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-5162301230501125264</guid><pubDate>Sat, 23 Feb 2013 03:28:00 +0000</pubDate><atom:updated>2014-04-05T02:08:50.223+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">comment</category><category domain="http://www.blogger.com/atom/ns#">mobile</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] Comment - コメントテンプレート</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
 &lt;p&gt;ブログや記事でよく見るコメントのテンプレートです。&lt;/p&gt;
 &lt;div class="ui"&gt;
  &lt;h2&gt;DEMO&lt;/h2&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="comment"&gt;
    &lt;div class="comment-entry"&gt;
     &lt;div class="clearfix comment-box"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Lionel Messi&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;9 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Duis hendrerit dui fermentum aliquet tincidunt. Nam ut neque et diam condimentum congue at id justo. Cras in sodales mauris. Maecenas sit amet lectus pretium, ullamcorper diam sit amet, consequat tortor. Integer feugiat orci lacus, ac ullamcorper ligula.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="clearfix comment-box child"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Andrés Iniesta&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;9 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Morbi vel viverra libero. Nullam ut consectetur tortor, sed ultrices libero. Suspendisse elementum leo quis tincidunt cursus.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="comment-entry"&gt;
     &lt;div class="clearfix comment-box"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Luis Suárez&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;11 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Yudji vel augue ante. Mauris et lectus risus.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="comment"&gt;
    &lt;div class="comment-entry"&gt;
     &lt;div class="clearfix comment-box"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people1.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Lionel Messi&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;9 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Duis hendrerit dui fermentum aliquet tincidunt. Nam ut neque et diam condimentum congue at id justo. Cras in sodales mauris. Maecenas sit amet lectus pretium, ullamcorper diam sit amet, consequat tortor. Integer feugiat orci lacus, ac ullamcorper ligula.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="clearfix comment-box child"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people2.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Andrés Iniesta&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;9 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Morbi vel viverra libero. Nullam ut consectetur tortor, sed ultrices libero. Suspendisse elementum leo quis tincidunt cursus.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="comment-entry"&gt;
     &lt;div class="clearfix comment-box"&gt;
      &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/people3.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class="text"&gt;
       &lt;div class="name"&gt;
        &lt;h3&gt;&lt;a href="#"&gt;Luis Suárez&lt;/a&gt;&lt;/h3&gt;
        &lt;time&gt;11 months ago&lt;/time&gt;
       &lt;/div&gt;
       &lt;p&gt;Yudji vel augue ante. Mauris et lectus risus.&lt;/p&gt;
       &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;h2&gt;HTML&lt;/h2&gt;
 &lt;pre class="brush: html;"&gt;
&lt;div class="comment"&gt;
 &lt;div class="comment-entry"&gt;
  &lt;div class="clearfix comment-box"&gt;
   &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/任意画像.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;div class="text"&gt;
    &lt;div class="name"&gt;
     &lt;h3&gt;&lt;a href="#"&gt;Lionel Messi&lt;/a&gt;&lt;/h3&gt;
     &lt;time&gt;9 months ago&lt;/time&gt;
    &lt;/div&gt;
    &lt;p&gt;Duis hendrerit dui fermentum aliquet tincidunt. Nam ut neque et diam condimentum congue at id justo. Cras in sodales mauris. Maecenas sit amet lectus pretium, ullamcorper diam sit amet, consequat tortor. Integer feugiat orci lacus, ac ullamcorper ligula.&lt;/p&gt;
    &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="clearfix comment-box child"&gt;
   &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/任意画像.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;div class="text"&gt;
    &lt;div class="name"&gt;
     &lt;h3&gt;&lt;a href="#"&gt;Andrés Iniesta&lt;/a&gt;&lt;/h3&gt;
     &lt;time&gt;9 months ago&lt;/time&gt;
    &lt;/div&gt;
    &lt;p&gt;Morbi vel viverra libero. Nullam ut consectetur tortor, sed ultrices libero. Suspendisse elementum leo quis tincidunt cursus.&lt;/p&gt;
    &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="comment-entry"&gt;
  &lt;div class="clearfix comment-box"&gt;
   &lt;div class="image"&gt;&lt;a href="#"&gt;&lt;img src="https://dl.dropboxusercontent.com/u/5743502/blog/img/任意画像.jpg"&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;div class="text"&gt;
    &lt;div class="name"&gt;
     &lt;h3&gt;&lt;a href="#"&gt;Luis Suárez&lt;/a&gt;&lt;/h3&gt;
     &lt;time&gt;11 months ago&lt;/time&gt;
    &lt;/div&gt;
    &lt;p&gt;Yudji vel augue ante. Mauris et lectus risus.&lt;/p&gt;
    &lt;div class="function"&gt;&lt;a href="#" class="btn-reply"&gt;reply&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-up"&gt;&lt;/i&gt;&lt;/a&gt;&lt;a href="#"&gt;&lt;i class="fa fa-thumbs-o-down"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
 &lt;h2&gt;CSS&lt;/h2&gt;
 &lt;pre class="brush: css;"&gt;
/* -------------------- comment -------------------- */
/* 共通 */
* {
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.comment-entry {
 margin-bottom:1em;
}
.comment-box {
 margin-bottom:1em;
}
.comment-box .image {
 float:left;
 max-width:4em;
 margin-right:1em;
}
.comment-box .image img {
 border-radius: 3px;
}
.comment-box .text {
 overflow:hidden;
}
.comment-box h3 {
 display:inline-block;
 margin:0;
}
.comment-box time {
 margin-left:.5em;
 font-size:82%;
 color:#BBCBC4;
}
.comment-box p {
 margin-bottom:0;
}
.comment-box .function i {
 margin-left:.7em;
 color:#BBCBC4;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.comment-box .function :hover i {
 color:#E3E7DE;
}
.comment-box .btn-reply {
 display:inline-block;
 line-height:1;
 padding:.3em .5em;
 border-radius: 1em;
 background:#BBCBC4;
 text-align:center;
 text-transform: capitalize;
 font-size:75%;
 font-weight:bold;
 color:#fff;
 text-decoration:none;
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.comment-box .btn-reply:hover {
 background:#E3E7DE;
 color:#fff;
}
.comment-box .btn:visited, .comment-box .btn:active {
 color:#fff;
}
/* A
----------------------------------------------------------------------------------------------------*/
.comment-entry .child {
 margin-left:5em;
}
.comment-entry .child .image {
 max-width:3em;
}
/* B
----------------------------------------------------------------------------------------------------*/
.comment-entry .child .image {
 max-width:3em;
}
.child {
 display:inline-block;
 position: relative;
 padding:1em;
 margin-bottom:0;
 border-top:1px solid #E5E3E3;
 border-bottom:1px solid #E5E3E3;
 background:#F9F7F7;
}
.child + .child {
 position: relative;
 top:-1px;
}
.child:after, .child:before {
 position: absolute;
 bottom: 100%;
 left: 50%;
 content: " ";
 height: 0;
 width: 0;
}
.child:after {
 border:10px solid transparent;
 border-bottom:10px solid #F9F7F7;
 margin-left: -10px;
}
.child:before {
 border:11px solid transparent;
 border-bottom:11px solid #E5E3E3;
 margin-left: -11px;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-boxshadow" target="_blank"&gt;CSS3 Box-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=minmaxwh" target="_blank"&gt;CSS min/max-width/height&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/02/ui-comment.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-8699051986603997128</guid><pubDate>Sun, 17 Feb 2013 07:32:00 +0000</pubDate><atom:updated>2014-03-25T17:03:18.340+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ui</category><category domain="http://www.blogger.com/atom/ns#">テンプレート</category><title>[UI] シンプルなワンカラムの『step by step』HTMLデザインテンプレート</title><description>&lt;style type="text/css"&gt;
&lt;!--
/* 共通 */
.step {
 position: relative;
 padding: 3em;
 background: #fff;
}
.step:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
 top: 100%;
 left: 50%;
 border:40px solid transparent;
 border-top:40px solid #fff;
 margin-left: -40px;
 z-index: 100;
}
.step h2, .step p {
 margin: .5em 0;
 font-family: 'Raleway', sans-serif;
 text-align: center;
 color: #fff;
}
.step h2 {
 font-size: 4em;
 font-weight: 800;
 text-transform: uppercase;
}
.step p {
 font-size: 1.5em;
 font-weight: 100;
}
.step1 {
 background: #47A447;
}
.step1:after {
 border-top-color: #47A447;
}
.step2 {
 background: #409AD5;
}
.step2:after {
 border-top-color: #409AD5;
}
.step3 {
 background: #FFCF00;
}
.step3:after {
 border-top-color: #FFCF00;
}
.step4 {
 background: #E00034;
}
.step4:after {
 border-top: none;
}
--&gt;
&lt;/style&gt;
&lt;p&gt;『step by step』以外でも簡単なサイトで良いなら、会社サイトとかにも使えると思います。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="step step1"&gt;
  &lt;h2&gt;step one&lt;/h2&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
 &lt;/div&gt;
 &lt;div class="step step2"&gt;
  &lt;h2&gt;step two&lt;/h2&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
 &lt;/div&gt;
 &lt;div class="step step3"&gt;
  &lt;h2&gt;step three&lt;/h2&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
 &lt;/div&gt;
 &lt;div class="step step4"&gt;
  &lt;h2&gt;step four&lt;/h2&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="step step1"&gt;
 &lt;h2&gt;step one&lt;/h2&gt;
 &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="step step2"&gt;
 &lt;h2&gt;step two&lt;/h2&gt;
 &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="step step3"&gt;
 &lt;h2&gt;step three&lt;/h2&gt;
 &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="step step4"&gt;
 &lt;h2&gt;step four&lt;/h2&gt;
 &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean et nunc sed urna vestibulum auctor vehicula fermentum ligula. Donec sapien sem, blandit ut lacus quis, laoreet rhoncus tellus. Ut fringilla.&lt;/p&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
.step {
 position: relative;
 padding: 3em;
 background: #fff;
}
.step:after {
 position: absolute;
 content: " ";
 height: 0;
 width: 0;
 top: 100%;
 left: 50%;
 border:40px solid transparent;
 border-top:40px solid #fff;
 margin-left: -40px;
 z-index: 100;
}
.step h2, .step p {
 margin: .5em 0;
 font-family: 'Raleway', sans-serif;
 text-align: center;
 color: #fff;
}
.step h2 {
 font-size: 4em;
 font-weight: 800;
 text-transform: uppercase;
}
.step p {
 font-size: 1.5em;
 font-weight: 100;
}
.step1 {
 background: #47A447;
}
.step1:after {
 border-top-color: #47A447;
}
.step2 {
 background: #409AD5;
}
.step2:after {
 border-top-color: #409AD5;
}
.step3 {
 background: #FFCF00;
}
.step3:after {
 border-top-color: #FFCF00;
}
.step4 {
 background: #E00034;
}
.step4:after {
 border-top: none;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/02/ui-step-by-stephtml.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-5120544088318728935</guid><pubDate>Sat, 16 Feb 2013 07:37:00 +0000</pubDate><atom:updated>2014-03-25T17:02:46.004+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">breadcrumb</category><category domain="http://www.blogger.com/atom/ns#">ui</category><category domain="http://www.blogger.com/atom/ns#">パンくず</category><title>[UI] UI Components : Breadcrumb</title><description>&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
&lt;p&gt;サイト内での位置をハイパーリンクとして表示するパンくずリスト。パンくずは順序づけしているので、ol要素でマークアップすることが推奨されているみたい。&lt;/p&gt;
 &lt;div class="ui"&gt;
  &lt;h2&gt;DEMO&lt;/h2&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="breadcrumb"&gt;
    &lt;ol&gt;
     &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;service&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;design&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;div class="breadcrumb"&gt;
    &lt;ol&gt;
     &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;service&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;design&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="breadcrumb"&gt;
    &lt;ol&gt;
     &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;service&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;design&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;div class="breadcrumb"&gt;
    &lt;ol&gt;
     &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;service&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="#"&gt;design&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="breadcrumb"&gt;
 &lt;ol&gt;
  &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;service&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;design&lt;/a&gt;&lt;/li&gt;
 &lt;/ol&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* -------------------- breadcrumb -------------------- */
/* 共通 */
.breadcrumb li {
 display: inline-block;
 text-transform: capitalize;
}
.breadcrumb li a:hover {
 text-decoration: underline;
}
.breadcrumb li:last-child a {
 color:#555 !important;
 cursor:default;
 text-decoration:none;
}
/* A */
.breadcrumb li + li:before {
 content: "\003e";
 padding:0 .5em 0 .3em;
 color: #999;
}
.breadcrumb li a {
 color: #117EC6;
}
/* B */
.breadcrumb li + li:before {
 content: "\002F";
 padding:0 .5em 0 .3em;
 color: #999;
}
.breadcrumb li a {
 color: #117EC6;
}
/* C */
.breadcrumb {
 font-size:0;
 overflow:hidden;
}
.breadcrumb li a {
 display:inline-block;
 position: relative;
 padding:.3em .5em .3em 2em;
 border:1px solid #ccc;
 background: #fff;
 font-size:14px;
 color: #117EC6;
}
.breadcrumb li:first-child a {
 padding-left: 1em;
 border-radius: 3px 0 0 3px;
}
.breadcrumb li:last-child a {
 padding-right: 1em;
 border-radius: 0 3px 3px 0;
}
.breadcrumb li + li {
 margin-left: -1px;
}
.breadcrumb li a:after, .breadcrumb li a:before {
 content: " ";
 display: block;
 width: 0;
 height: 0;
 position: absolute;
 left: 100%;
 top: 50%;
}
.breadcrumb li a:after {
 border:1.1em solid transparent;
 border-left:1.1em solid #fff;
 margin-top: -1.1em;
 z-index: 2;
}
.breadcrumb li a:before {
 border:1.1em solid transparent;
 border-left:1.1em solid #ccc;
 margin-top: -1.1em;
 margin-left:1px;
 z-index: 1;
}
.breadcrumb li:last-child a:before, .breadcrumb li:last-child a:after {
 content: normal;
}
/* D */
.breadcrumb {
 font-size:0;
 overflow:hidden;
}
.breadcrumb li a {
 display:inline-block;
 position: relative;
 padding:.3em 0 .3em 2.5em;
 background: #eee;
 font-size:14px;
 color: #117EC6;
}
.breadcrumb li:first-child a {
 padding-left: 1em;
}
.breadcrumb li:last-child a {
 padding-right: 1em;
}
.breadcrumb li + li {
 margin-left: -1px;
}
.breadcrumb li a:after, .breadcrumb li a:before {
 content: " ";
 display: block;
 width: 0;
 height: 0;
 position: absolute;
 left: 100%;
 top: 50%;
}
.breadcrumb li a:after {
 border:1.5em solid transparent;
 border-left:1.5em solid #eee;
 margin-top: -1.45em;
 z-index: 2;
}
.breadcrumb li a:before {
 border:1.5em solid transparent;
 border-left:1.5em solid #fff;
 margin-top: -1.45em;
 margin-left:4px;
 z-index: 1;
}
.breadcrumb li:last-child a:before, .breadcrumb li:last-child a:after {
 content: normal;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gencontent" target="_blank"&gt;CSS Generated content&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/02/ui-ui-components-breadcrumb.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6675556499386865734</guid><pubDate>Sat, 09 Feb 2013 07:39:00 +0000</pubDate><atom:updated>2014-03-25T17:02:27.214+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">pagination</category><category domain="http://www.blogger.com/atom/ns#">ui</category><category domain="http://www.blogger.com/atom/ns#">ページ送り</category><title>[UI] UI Components : Pagination</title><description>&lt;link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/5743502/blog/css/ui.css"  /&gt;
&lt;p&gt;ページネーション、パジネーション、ページ送りとか。最近は「さらに表示する」とかで自動的に次のページを読み込ませるサイトもあるけれど、どちらが優れているということではなく、目的に合わせて使えば良いと思う。&lt;/p&gt;
 &lt;div class="ui"&gt;
  &lt;h2&gt;DEMO&lt;/h2&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo1"&gt;
   &lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;b&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo2"&gt;
   &lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;c&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo3"&gt;
   &lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;d&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo4"&gt;
   &lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;h3 class="numbering"&gt;&lt;span&gt;e&lt;/span&gt;&lt;/h3&gt;
  &lt;div class="demo5"&gt;
   &lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;laquo; prev&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;a class="next" href="#"&gt;next &amp;raquo;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href="#"&gt;10&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
&lt;div class="pagination"&gt;&lt;a class="prev disabled" href="#"&gt;&amp;#10094;&lt;/a&gt;&lt;a class="active" href="#"&gt;1&lt;/a&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;a class="next" href="#"&gt;&amp;#10095;&lt;/a&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* 共通 */
.pagination {
 line-height: 1;
 text-align: center;
}
.pagination a {
 transition: all 0.3s ease 0s;
 -webkit-transition: all 0.3s ease 0s;
}
.pagination .disabled, .pagination a.disabled:hover, .pagination .active {
 cursor: default;
}
/* A */
.pagination span {
 margin: 0 .15em;
 color: #777;
}
.pagination a {
 display: inline-block;
 width: 2em;
 line-height:1;
 padding:.4em 0;
 margin: 0 .15em;
 border: #bbb 1px solid;
 border-radius: 3px;
 background: #fff;
 color: #117EC6;
}
.pagination a:hover {
 border:#117EC6 1px solid;
 background: #117EC6;
 color: #fff;
}
.pagination .disabled, .pagination a.disabled:hover {
 border:#ddd 1px solid;
 background: #fff;
 color: #ddd;
}
.pagination .active {
 border:#117EC6 1px solid;
 background: #117EC6;
 color: #fff;
}
/* B */
.pagination a {
 display: inline-block;
 width: 2em;
 line-height:1;
 padding:.4em 0;
 border: #C7C7C7 1px solid;
 background: #F0F0F0;
 color: #555;
}
.pagination a:first-child {
 border-radius: 3px 0 0 3px;
}
.pagination a:last-child {
 border-radius: 0 3px 3px 0;
}
.pagination a + a {
 margin-left: -1px;
}
.pagination a:hover {
 background: #ddd;
}
.pagination .disabled, .pagination a.disabled:hover {
 border:#ddd 1px solid;
 background: #fff;
 color: #ddd;
}
.pagination .active, .pagination .active:hover {
 background: #ddd;
}
.pagination a.prev, .pagination a.next {
 color: #999;
}
/* C */
.pagination span {
 margin: 0 .15em;
 color: #777;
}
.pagination a {
 display: inline-block;
 width: 2em;
 line-height:1;
 padding:.4em 0;
 margin: 0 .15em;
 border: #bbb 1px solid;
 border-radius: 3px;
 background: #F0F0F0;
 color: #555;
 box-shadow:0 1px 1px rgba(0, 0, 0, 0.1);
 -webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.1);
}
.pagination a:hover {
 border:#aaa 1px solid;
 background: #E9E9E9;
 box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
 -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
}
.pagination .disabled, .pagination a.disabled:hover {
 border:#ddd 1px solid;
 background: #fff;
 color: #ddd;
 box-shadow: none;
 -webkit-box-shadow: none;
}
.pagination .active, .pagination .active:hover {
 border: #bbb 1px solid;
 background: #ddd;
 box-shadow:0 1px 1px rgba(0, 0, 0, 0.1) inset;
 -webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
.pagination a.prev, .pagination a.next {
 color: #999;
}
/* D */
.pagination span {
 margin: 0 .15em;
 color: #777;
}
.pagination a {
 display: inline-block;
 width: 2em;
 line-height:1;
 padding:.4em 0;
 margin: 0 .15em;
 border: #bbb 1px solid;
 border-radius: 3px;
 background: #F0F0F0;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #d9d9d9), color-stop(0.00, #fff));
 background: -webkit-linear-gradient(#fff, #d9d9d9);
 background: -o-linear-gradient(#fff, #d9d9d9);
 background: linear-gradient(#fff, #d9d9d9);
 color: #555;
 box-shadow:0 1px 1px rgba(0, 0, 0, 0.1);
 -webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.1);
}
.pagination a:hover {
 border:#aaa 1px solid;
 box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
 -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
}
.pagination .disabled, .pagination a.disabled:hover {
 opacity: .4;
 box-shadow: none;
 -webkit-box-shadow: none;
}
.pagination .active, .pagination .active:hover {
 border: #bbb 1px solid;
 background: #ddd;
 box-shadow:0 1px 1px rgba(0, 0, 0, 0.1) inset;
 -webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
.pagination a.prev, .pagination a.next {
 color: #999;
}
/* E */
.pagination span {
 margin: 0 .15em;
 color: #777;
}
.pagination a {
 display: inline-block;
 line-height:1;
 padding:.4em .6em;
 border-radius: 2em;
 background: #fff;
 color: #117EC6;
}
.pagination a:hover {
 background: #eee;
}
.pagination .prev, .pagination .next {
 text-transform: capitalize;
}
.pagination .disabled, .pagination a.disabled:hover {
 background: #fff;
 color: #ddd;
}
.pagination .active, .pagination .active:hover {
 background: #117EC6;
 color: #fff;
}
&lt;/pre&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=border-radius" target="_blank"&gt;CSS3 Border-radius&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-transitions" target="_blank"&gt;CSS3 Transitions&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-boxshadow" target="_blank"&gt;CSS3 Box-shadow&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-gradients" target="_blank"&gt;CSS Gradients&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2013/02/ui-ui-components-pagination.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6301040564099405448.post-6111574610110421157</guid><pubDate>Sun, 16 Dec 2012 07:01:00 +0000</pubDate><atom:updated>2014-03-25T19:05:43.211+09:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">inline-block</category><category domain="http://www.blogger.com/atom/ns#">ui</category><title>[UI] display:inline-blockを使って横並びのレイアウトをする方法＋入れ子</title><description>&lt;a name='more'&gt;&lt;/a&gt;
&lt;style type="text/css"&gt;
&lt;!--
/* grid inline-block
----------------------------------------------------------------------------------------------------*/
.grid {
 font-size: 0;
}
.grid &gt; div {
 display: inline-block;
 font-size: 14px;
 vertical-align: top;
 padding: .75em;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 background: #f0f0f0;
}
.grid &gt; div &gt; div {
 min-height: 2em;
 line-height: 2;
 background: #34495E;
 color: #FFF;
 text-align: center;
}
/* 入れ子 基本設定
----------------------------------------------- */
.nest, .nest-full {
 font-size: 0;
}
.nest &gt; div, .nest-full &gt; div {
 display:inline-block;
 font-size: 14px;
 letter-spacing: normal;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.nest &gt; div &gt; div {
 min-height:1em;
 margin-bottom:1em;
 background:#FFBCBC;
}
.nest-full &gt; div &gt; div {
 min-height:1em;
 margin-bottom:1em;
}
.nest-full &gt; :nth-child(2n+1) &gt; div {
 background:#57C3E5;
}
.nest-full &gt; :nth-child(2n) &gt; div {
 background:#37BABF;
}
/* Column Widths
----------------------------------------------- */
.col1of1 {width:100%;}
.col1of2 {width:50%;}
.col1of3 {width:33.33333%;}
.col2of3 {width:66.66666%;}
.col1of4 {width:25%;}
.col3of4 {width:75%;}
.col1of5 {width:20%;}
.col2of5 {width:40%;}
.col3of5 {width:60%;}
.col4of5 {width:80%;}
.col1of6 {width:16.66669%;}
.col5of6 {width:83.33333%;}
/* 入れ子 隙間
----------------------------------------------------------------------------------------------------*/
/* 2列 */
.nest .col1of2:nth-child(2n+1) {
 padding:0 .5em 0 0;
}
.nest .col1of2:nth-child(2n) {
 padding:0 0 0 .5em;
}
/* 3列 */
.nest .col1of3:nth-child(3n+1) {
 padding:0 .66em 0 0;
}
.nest .col1of3:nth-child(3n+2) {
 padding:0 .33em;
}
.nest .col1of3:nth-child(3n) {
 padding:0 0 0 .66em;
}
/* 4列 */
.nest .col1of4:nth-child(4n+1) {
 padding:0 .75em 0 0;
}
.nest .col1of4:nth-child(4n+2) {
 padding:0 .5em 0 .25em;
}
.nest .col1of4:nth-child(4n+3) {
 padding:0 .25em 0 .5em;
}
.nest .col1of4:nth-child(4n) {
 padding:0 0 0 .75em;
}
/* 5列 */
.nest .col1of5:nth-child(5n+1) {
 padding:0 .8em 0 0;
}
.nest .col1of5:nth-child(5n+2) {
 padding:0 .6em 0 .2em;
}
.nest .col1of5:nth-child(5n+3) {
 padding:0 .4em;
}
.nest .col1of5:nth-child(5n+4) {
 padding:0 .2em 0 .6em;
}
.nest .col1of5:nth-child(5n) {
 padding:0 0 0 .8em;
}
/* 6列 */
.nest .col1of6:nth-child(6n+1) {
 padding:0 .83em 0 0;
}
.nest .col1of6:nth-child(6n+2) {
 padding:0 .67em 0 .17em;
}
.nest .col1of6:nth-child(6n+3) {
 padding:0 .5em 0 .33em;
}
.nest .col1of6:nth-child(6n+4) {
 padding:0 .33em 0 .5em;
}
.nest .col1of6:nth-child(6n+5) {
 padding:0 .17em 0 .67em;
}
.nest .col1of6:nth-child(6n) {
 padding:0 0 0 .83em;
}
--&gt;
&lt;/style&gt;
 &lt;p&gt;&lt;a href="xxx" target="_blank"&gt;『display:inline-blockを使って横並びのレイアウトをする方法』&lt;/a&gt;の続きで、入れ子を加えたバージョンです。入れ子のパターンは同幅で6分割まで。隙間ありの.nestと隙間なしの.nest-fullの2パターン。&lt;/p&gt;
 &lt;h2&gt;DEMO&lt;/h2&gt;
 &lt;div class="grid"&gt;
  &lt;div class="col1of1"&gt;
   &lt;div class="nest"&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of2"&gt;
   &lt;div class="nest"&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of2"&gt;
   &lt;div class="nest"&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of3"&gt;
   &lt;div class="nest"&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of3"&gt;
   &lt;div class="nest"&gt;
    &lt;div class="col1of2"&gt;
     &lt;div&gt;1/2&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of2"&gt;
     &lt;div&gt;1/2&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of3"&gt;
   &lt;div class="nest-full"&gt;
    &lt;div class="col1of2"&gt;
     &lt;div&gt;1/2&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of2"&gt;
     &lt;div&gt;1/2&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of3"&gt;
   &lt;div class="nest-full"&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of3"&gt;
     &lt;div&gt;1/3&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col2of3"&gt;
   &lt;div class="nest-full"&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of4"&gt;
     &lt;div&gt;1/4&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of4"&gt;
   &lt;div&gt;1/4&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of4"&gt;
   &lt;div&gt;1/4&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of4"&gt;
   &lt;div&gt;1/4&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of4"&gt;
   &lt;div&gt;1/4&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of4"&gt;
   &lt;div&gt;1/4&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col3of4"&gt;
   &lt;div class="nest-full"&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of5"&gt;
     &lt;div&gt;1/5&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of5"&gt;
   &lt;div&gt;1/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col4of5"&gt;
   &lt;div class="nest-full"&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col1of6"&gt;
     &lt;div&gt;1/6&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col2of5"&gt;
   &lt;div&gt;2/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col3of5"&gt;
   &lt;div&gt;3/5&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col1of6"&gt;
   &lt;div&gt;1/6&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col5of6"&gt;
   &lt;div&gt;5/6&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;h2&gt;HTML&lt;/h2&gt;
&lt;pre class="brush: html;"&gt;
&lt;div class="grid"&gt;
 &lt;div class="col1of1"&gt;
  &lt;div class="nest"&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of2"&gt;
  &lt;div class="nest"&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of2"&gt;
  &lt;div class="nest"&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of3"&gt;
  &lt;div class="nest"&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of3"&gt;
  &lt;div class="nest"&gt;
   &lt;div class="col1of2"&gt;&lt;div&gt;1/2&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of2"&gt;&lt;div&gt;1/2&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of3"&gt;
  &lt;div class="nest-full"&gt;
   &lt;div class="col1of2"&gt;&lt;div&gt;1/2 full&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of2"&gt;&lt;div&gt;1/2 full&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of3"&gt;
  &lt;div class="nest-full"&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of3"&gt;&lt;div&gt;1/3&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col2of3"&gt;
  &lt;div class="nest-full"&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of4"&gt;&lt;div&gt;1/4&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col3of4"&gt;
  &lt;div class="nest-full"&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of5"&gt;&lt;div&gt;1/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col4of5"&gt;
  &lt;div class="nest-full"&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
   &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="col2of5"&gt;&lt;div&gt;2/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col3of5"&gt;&lt;div&gt;3/5&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col1of6"&gt;&lt;div&gt;1/6&lt;/div&gt;&lt;/div&gt;
 &lt;div class="col5of6"&gt;&lt;div&gt;5/6&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;h2&gt;CSS&lt;/h2&gt;
&lt;pre class="brush: css;"&gt;
/* grid inline-block
----------------------------------------------------------------------------------------------------*/
.grid {
 font-size: 0;
}
.grid &gt; div {
 display: inline-block;
 font-size: 14px;
 vertical-align: top;
 padding: .75em;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 background: #f0f0f0;
}
.grid &gt; div &gt; div {
 min-height: 2em;
 line-height: 2;
 background: #34495E;
 color: #FFF;
 text-align: center;
}
/* 入れ子 基本設定
----------------------------------------------- */
.nest, .nest-full {
 font-size: 0;
}
.nest &gt; div, .nest-full &gt; div {
 display:inline-block;
 font-size: 14px;
 letter-spacing: normal;
 box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
.nest &gt; div &gt; div {
 min-height:1em;
 margin-bottom:1em;
 background:#FFBCBC;
}
.nest-full &gt; div &gt; div {
 min-height:1em;
 margin-bottom:1em;
}
.nest-full &gt; :nth-child(2n+1) &gt; div {
 background:#57C3E5;
}
.nest-full &gt; :nth-child(2n) &gt; div {
 background:#37BABF;
}
/* Column Widths
----------------------------------------------- */
.col1of1 {width:100%;}
.col1of2 {width:50%;}
.col1of3 {width:33.33333%;}
.col2of3 {width:66.66666%;}
.col1of4 {width:25%;}
.col3of4 {width:75%;}
.col1of5 {width:20%;}
.col2of5 {width:40%;}
.col3of5 {width:60%;}
.col4of5 {width:80%;}
.col1of6 {width:16.66669%;}
.col5of6 {width:83.33333%;}
/* 入れ子 隙間
----------------------------------------------------------------------------------------------------*/
/* 2列 */
.nest .col1of2:nth-child(2n+1) {
 padding:0 .5em 0 0;
}
.nest .col1of2:nth-child(2n) {
 padding:0 0 0 .5em;
}
/* 3列 */
.nest .col1of3:nth-child(3n+1) {
 padding:0 .66em 0 0;
}
.nest .col1of3:nth-child(3n+2) {
 padding:0 .33em;
}
.nest .col1of3:nth-child(3n) {
 padding:0 0 0 .66em;
}
/* 4列 */
.nest .col1of4:nth-child(4n+1) {
 padding:0 .75em 0 0;
}
.nest .col1of4:nth-child(4n+2) {
 padding:0 .5em 0 .25em;
}
.nest .col1of4:nth-child(4n+3) {
 padding:0 .25em 0 .5em;
}
.nest .col1of4:nth-child(4n) {
 padding:0 0 0 .75em;
}
/* 5列 */
.nest .col1of5:nth-child(5n+1) {
 padding:0 .8em 0 0;
}
.nest .col1of5:nth-child(5n+2) {
 padding:0 .6em 0 .2em;
}
.nest .col1of5:nth-child(5n+3) {
 padding:0 .4em;
}
.nest .col1of5:nth-child(5n+4) {
 padding:0 .2em 0 .6em;
}
.nest .col1of5:nth-child(5n) {
 padding:0 0 0 .8em;
}
/* 6列 */
.nest .col1of6:nth-child(6n+1) {
 padding:0 .83em 0 0;
}
.nest .col1of6:nth-child(6n+2) {
 padding:0 .67em 0 .17em;
}
.nest .col1of6:nth-child(6n+3) {
 padding:0 .5em 0 .33em;
}
.nest .col1of6:nth-child(6n+4) {
 padding:0 .33em 0 .5em;
}
.nest .col1of6:nth-child(6n+5) {
 padding:0 .17em 0 .67em;
}
.nest .col1of6:nth-child(6n) {
 padding:0 0 0 .83em;
}
&lt;/pre&gt;
&lt;h2&gt;使用上のポイント&lt;/h2&gt;
&lt;ul class="disc"&gt;
 &lt;li&gt;隙間問題はfont-size:0;を使う。&lt;/li&gt;
 &lt;li&gt;幅指定は%&lt;a href="http://fluidgrids.com/" target="_blank"&gt;『FluidGrids』&lt;/a&gt;参照&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;Box-sizing対応状況&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;CSS対応状況&lt;/h2&gt;
&lt;ul class="link"&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel2" target="_blank"&gt;CSS 2.1 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css-sel3" target="_blank"&gt;CSS3 selectors&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=css3-boxsizing" target="_blank"&gt;CSS3 Box-sizing&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://caniuse.com/#feat=minmaxwh" target="_blank"&gt;CSS min/max-width/height&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://norm-design.blogspot.com/2012/12/ui-displayinline-block_16.html</link><author>noreply@blogger.com (norm)</author><thr:total>0</thr:total></item></channel></rss>