Gunnar Bittersmann: Die Höhe eines Header-Divs and den Text darin anpassen

Beitrag lesen

@@Gunnar Bittersmann

Also weg mit user-scalable=no!

Und

head { display: block }
head * { display: none }

meta[content*="user-scalable=no"]
{
	display: block;
	height: 4em;
	margin-bottom: 1em;
	background: red;
	ERROR: 'user-scalable=no set';
}

ins Stylesheet! 😏

TIL: Es gibt noch andere schlechte Werte. Ich hab den Selektor mal etwas ergänzt:

meta[content*="user-scalable"]:not([content*="user-scalable=zoom"]):not([content*="user-scalable=yes"]):not([content*="user-scalable=device-width"]):not([content*="user-scalable=device-height"]):not([content*="user-scalable=1"]):not([content*="user-scalable=2"]):not([content*="user-scalable=3"]):not([content*="user-scalable=4"]):not([content*="user-scalable=5"]):not([content*="user-scalable=6"]):not([content*="user-scalable=7"]):not([content*="user-scalable=8"]):not([content*="user-scalable=9"]):not([content*="user-scalable=-1"]):not([content*="user-scalable=-2"]):not([content*="user-scalable=-3"]):not([content*="user-scalable=-4"]):not([content*="user-scalable=-5"]):not([content*="user-scalable=-6"]):not([content*="user-scalable=-7"]):not([content*="user-scalable=-8"]):not([content*="user-scalable=-9"])

LLAP 🖖

--
“When UX doesn’t consider all users, shouldn’t it be known as ‘Some User Experience’ or... SUX? #a11y” —Billy Gregory