Sponsorer
/* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; } .kalender-container { max-width: 100%; margin: 20px auto; font-family: Arial, sans-serif; } .filter-knappar { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; flex-wrap: nowrap; } .filter-btn { background: #4caf50; color: white; border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; font-size: 14px; transition: all 0.3s; } .filter-btn:nth-child(1) { background: #4caf50; } .filter-btn:nth-child(2) { background: #2196f3; } .filter-btn:nth-child(3) { background: #ff9800; } .filter-btn.active { box-shadow: 0 2px 4px rgba(0,0,0,0.2); transform: scale(1.05); } .kalender-tabell { width: 100%; border-collapse: collapse; font-size: 14px; background: #f9f9f9; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .kalender-tabell th { padding: 12px; text-align: left; background: #e0e0e0; color: #333; border-bottom: 2px solid #ccc; } .kalender-tabell td { padding: 10px; border-bottom: 1px solid #ddd; background: #fff; } .kalender-tabell td:last-child { text-align: center; } .månad-rad td { background: #f0f0f0 !important; padding: 8px; font-weight: bold; } @media (max-width: 768px) { .kalender-tabell { font-size: 12px; } .kalender-tabell th, .kalender-tabell td { padding: 8px 6px; } .filter-btn { padding: 8px 12px; font-size: 12px; } .filter-knappar { gap: 5px; flex-direction: column; } } For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp End of comment */