ref: master
css/tabs.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
.tabs { display: flex; justify-content: center; margin-bottom: 1rem; } .tab-button { flex: 1; padding: 0.5rem 1rem; color: #000; background-color: #f8f9fa; cursor: pointer; font-size: 1rem; transition: background-color 0.2s ease; box-shadow: none; } .tab-button:hover { color: #fff; background-color: #005a30; } .tab-button.active { background-color: #00703c; color: #fff; } .tab-content { display: none; } .tab-content.active { display: block; } |