li:nth-child(X){ }・最初のみ
li:nth-child(1){ }・最後のみ
li:last-child{ }・X番目以前(最初からX番目まで)
li:nth-child(-n+X)・X番目以降(X番目から最後まで)
li:nth-child(n+X)・X番目からY番目まで
li:nth-child(n+X):nth-child(-n+Y)
table#css-table-1 ,table#css-table-1 td{ border: 2px #808080 solid; }
AAA | 123 |
BBB | 456 |
table#css-table-2 td{ border: 2px #808080 solid; }
AAA | 123 |
BBB | 456 |
table#css-table-3 ,table#css-table-3 td{ border: 2px #808080 solid; border-collapse: collapse;}
AAA | 123 |
BBB | 456 |
width:100px; height:200px; overflow: auto; overflow-x: hidden;
.button { width: 100px; padding: 15px 0; font-size: 20px; text-decoration: none; display: block; text-align: center; color: #FFFFFF; background: #008DDD; border-radius: 5px; -webkit-border-radius: 5px;/* for Safari and Chrome 対応*/ -moz-border-radius: 5px;/* for Firefox 対応*/ }