.page { display: none; } .page.active { display: block; } .tab-btn.active { background: rgba(255,255,255,0.2); color: #fff; font-weight: 600; }