Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 行おきに前の行の高さの約 1/3 のテーブルを作成しようとしています。インライン メソッドを使用してこれをスタイルできますが、同じテーブル内で異なる tr スタイルのタグを作成できるかどうか疑問に思っていました。
ありがとう
試す:
.your-table-class tbody tr:nth-child(even) { line-height: 10px; // your 1/3 value here }