2015-08-14から1日間の記事一覧

3 × 3 の表示

<style type="text/css"> html, body { padding: 0; margin: 0; } .grid3x3 { display:table; height:100%; width:100%; } .grid3x3 > div { display:table-row; width:100%; } .grid3x3 > div:first-child, .grid3x3 > div:last-child { height: 100px; } .grid3x3 > div > div { d…

3 × 3 の表示

<style type="text/css"> html, body { padding: 0; margin: 0; } .grid3x3 { display:table; height:100%; width:100%; } .grid3x3 > div { display:table-row; width:100%; } .grid3x3 > div:first-child, .grid3x3 > div:last-child { height: 100px; } .grid3x3 > div > div { d…

背景画像の繰り返し方を定義

1.x軸方向にのみ繰り返す(background-repeat: repeat-x)2.y軸方向にのみ繰り返す(background-repeat: repeat-y)3.背景画像を繰り返さない(background-repeat: no-repeat) css box1{ width: 150px; height: 80px; padding: 10px 0px 0px 10px; …