
Alfresco Indirect Roasting Pod - AIC-POD
.tabbed { overflow-x: hidden; /* so we could easily hide the radio inputs */ margin: 20px 0; } .tabbed [type="radio"] { /* hiding the inputs */ display: none; } .tabs { display: flex; flex-direction: column; gap:.5rem; align-items: stretch; list-style: none; padding-left: 0px !important; text-align: center; } .tabs .tab { flex:1; } .tab > label { display: block; margin-bottom: -1px; padding: 8px 0px 6px; border: 2px solid #ccc; background: #eee; color: #292822; font-size: 16px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; border-radius: 4px; } .tab:hover label { } .tab-content { display: none; padding:1px 20px; } /* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */ .tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label, .tabbed [type="radio"]: