Currently i have menu like this:
But I need to add a fill for the selected menu item and the same for home menu item, like next:
My code is:
<head> <meta charset="UTF-8"> <title>Tab</title> <style> .tabs { list-style-type: none; position: relative; } .tabs:after { content: ""; clear: both; display: block; } .tabs li { float: left; } .tabs li>input { display: none; } .tabs li>label { display: inline-block; padding: 8px 30px; } .tabs .tab-content { display: none; position: absolute; width: 100vw; left: 0; } .tabs li>input:checked~.tab-content { display: block; } ul { background: rgb(65, 63, 63); color: white; } .home { background-color: blue; } .order { background-color: green; } .tab-content { padding: 5px; border-top: 2px solid white; } </style> </head> <body> <ul class="tabs"> <li> <input type="radio" name="tabs" id="tab-1" checked> <label for="tab-1" class="home">Home</label> <div class="tab-content home"></div> </li> <li> <input type="radio" name="tabs" id="tab-2"> <label for="tab-2" class="order">Order</label> <div class="tab-content order"></div> </li> </ul> </body> How i can add fill for selected menu item? Or maybe I need to somehow break the border and increase the height of the selected menu item?

