File tree Expand file tree Collapse file tree
site/src/content/docs/reference Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ You can style the button based on fullscreen state:
4949media-fullscreen-button [data-fullscreen ] {
5050 background : red ;
5151}
52+
53+ /* Disabled (prop or feature unavailable) */
54+ media-fullscreen-button [data-disabled ] {
55+ opacity : 0.5 ;
56+ cursor : not-allowed ;
57+ }
5258```
5359</FrameworkCase >
5460
@@ -60,6 +66,12 @@ React renders a `<button>` element. Add a `className` to style it:
6066.fullscreen-button [data-fullscreen ] {
6167 background : red ;
6268}
69+
70+ /* Disabled (prop or feature unavailable) */
71+ .fullscreen-button [data-disabled ] {
72+ opacity : 0.5 ;
73+ cursor : not-allowed ;
74+ }
6375```
6476</FrameworkCase >
6577
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ You can style the button based on PiP state:
4949media-pip-button [data-pip ] {
5050 background : red ;
5151}
52+
53+ /* Disabled (prop or feature unavailable) */
54+ media-pip-button [data-disabled ] {
55+ opacity : 0.5 ;
56+ cursor : not-allowed ;
57+ }
5258```
5359</FrameworkCase >
5460
@@ -60,6 +66,12 @@ React renders a `<button>` element. Add a `className` to style it:
6066.pip-button [data-pip ] {
6167 background : red ;
6268}
69+
70+ /* Disabled (prop or feature unavailable) */
71+ .pip-button [data-disabled ] {
72+ opacity : 0.5 ;
73+ cursor : not-allowed ;
74+ }
6375```
6476</FrameworkCase >
6577
You can’t perform that action at this time.
0 commit comments