06:58 | <chargeitall> | brilliant statement " Please leave your sense of logic at the door" |
08:51 | <chargeitall> | Topic: :fullscreen CSS pseudo class Problem: The button background color is not changing when toggling between fullscreen and none-fullscreen using F11 and Esc. https://jsfiddle.net/og9eLsav/ Code mentioned in https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
#fs-toggle:fullscreen {
background-color: #faa;
}
#fs-toggle:not(:fullscreen) {
background-color: #afa;
}
</style>
</head>
<body>
<h1>MDN Web Docs Demo: :fullscreen pseudo-class</h1>
<p>
This demo uses the <code>:fullscreen</code> pseudo-class to automatically
change the style of a button used to toggle fullscreen mode on and off,
entirely using CSS.
</p>
<button id="fs-toggle">Toggle Fullscreen</button>
</body>
</html>
|
12:15 | <chargeitall> | Here is a list of CSS pseudo-classes. I am wondering if there is an easy way to identify which ones require JS to work, like the case with :fullscreen. https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes |
16:40 | <annevk> | I was very much expecting https://github.com/whatwg/html/pull/9885 to be spam, but it seems legit |
18:47 | <ljharb> | seems like an obvious hacktoberfest play to me, but if it's legit, ¯\_(ツ)_/¯ |
19:04 | <annevk> | Ooh, I forgot what month it was. Bah. |
19:04 | <annevk> | Oh well. |
19:05 | <annevk> | But at least it's a reasonable change and not just randomly removing things. |