JSFiddle - React, Tailwind, and code Playground

HTML

<table class="table_database_edit">
	<tr><td>Magazyn wycieraczek</td><td>Edytuj</td><td>Usuń</td></tr>
	<tr class="more" id=""><td colspan="3">aa</td></tr>
	<tr><td>test</td><td>Edytuj</td><td>Usuń</td></tr>
	<tr class="more" id=""><td colspan="3">aa</td></tr>
</table>

CSS

tr.more{
    #display: none;
}
table.table_database_edit{
    width: 100%;
	border-collapse:collapse;
	border-spacing: 0;
}
table.table_database_edit  tr:nth-child(4n+3), table.table_database_edit  tr:nth-child(4n+4){
    /*background-color: lightgray;*/
}
tr:nth-child(n):hover { cursor: pointer; background-color: yellow; }
tr:nth-child(n):hover { cursor: pointer; background-color: yellow; }
tr:hover+tr.more { background: yellow; }
/*
table.table_database_edit  tr:hover:nth-child(n) + tr:nth-child(n):after{
    background-color: #FFFFCC;
}
table.table_database_edit  tr:hover:nth-child(n+1) + tr:nth-child(n+1):before{
    background-color: #FFFFCC;
}
*/