Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table-md">
- <thead>
- ...
- </thead>
- <tdody>
- <tr>
- <td>...</td>
- ...
- </tr>
- <tr "Здесь будет располагаться hidden="true"(Т.е элемент внешне не считается нечетным, его не видно) ">
- <td>...</td>
- ...
- </tr>
- </tbody>
- </table>
- .table-md tr:hover {
- cursor: pointer;
- }
- .table-md tbody:nth-child(odd) {
- background: #CCC;
- }
- .table-md td{
- height: auto;
- padding-left: 15px;
- padding-right: 15px;
- padding-top: 7px;
- margin-top: 20px;
- border-radius: 2px;
- transition: 0.4s ease;
- -moz-transition: 0.4s ease;
- -webkit-transition: 0.4s ease;
- }
- .table-md td:hover {
- background-color: #e0effd;
- transition: 0.2s ease;
- -moz-transition: 0.2s ease;
- -webkit-transition: 0.2s ease;
- transform: scale(1.02);
- -moz-transform: scale(1.02);
- -webkit-transform: scale(1.02);
- }
- .table-md thead {
- font-family: 'Roboto', sans-serif;
- font-size: 16px;
- color: #878787;
- background-color: #fff;
- }
Add Comment
Please, Sign In to add comment