2018-08-02から1日間の記事一覧
github.com
<table id="tb"> <thead> <tr> <th>利用者</th> </tr> </thead> <thead> <tr> <th>利用者</th> </tr> </thead> <tbody> <tr> <td>aho</td> <td>hoge</td> </tr> <tbody> </table> ahoを変えたい これはだめ #tb tbody tr td:nth-child(0) { width: 10px; color: white; } こっち #tb tbody tr td:first-child { width: 10px; color: white; } #…
すぐ忘れるので・・。 jsfiddle.net const tableStyle = { width: 100, height: 100, border: '1px solid green', }; const borderStyles = [ { border: '30px solid green', borderRightColor: 'red', }, { border: '30px solid blue', }, ]; class Hello e…