Gunnar Bittersmann: Responsive design

Beitrag lesen

@@Gunnar Bittersmann

Bei breitem Bildschirm will man das Menü nicht nur horizontal darstellen, sondern initial aufgeklapt. „Menü“ und das Hamburger-Icon sollen dann nicht zu sehen sein.

Bei der Realisierung mit details braucht man AFAIS etwas JavaScript

Da habe ich nicht weit genug gesehen. content-visibility heißt das Zauberwort:

		::details-content {
			content-visibility: visible;
		}

Look ma, no JavaScript: Codepen

🖖 Live long and prosper

--
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis

— Bruce Springsteen, Streets of Minneapolis