facebook twitter hatena line email

「Html/スマホ/トップラベル」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「*css トップラベル: h2.toplabel { margin:0; color:#fff; text-align:center; font-size:14px; background-image:-moz-linear-gradient(top,#4c4c...」)
 
(相違点なし)

2015年5月20日 (水) 03:17時点における最新版

  • css
/* トップラベル */
h2.toplabel {
   margin:0;
   color:#fff;
   text-align:center;
   font-size:14px;
   background-image:-moz-linear-gradient(top,#4c4c4c,#222);
   background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4c4c4c),color-stop(1,#222));
}
  • html
<h2 class="toplabel">title</h2>