File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -891,6 +891,22 @@ Placeholder Input: the ''::placeholder'' pseudo-element</h3>
891
891
It's not clear how this should work, but it may be worth doing.
892
892
See <a href="https://github.com/w3c/csswg-drafts/issues/2517">Issue 2417</a> .
893
893
894
+ <h3 id="file-selector-button-pseudo">
895
+ File Selector Button: the ''::file-selector-button'' pseudo-element</h3>
896
+
897
+ The <dfn>::file-selector-button</dfn> pseudo-element targets the ''<button>''
898
+ inside an ''<input>'' element with <code> type=file</code> , if the UA
899
+ renders such a button.
900
+
901
+ There is no restriction on which properties apply to the
902
+ ''::file-selector-button'' pseudo-element.
903
+
904
+ <div class="example" id="file-selector-button-example">
905
+ For example, the following example should show a green border around the
906
+ file selector button:
907
+
908
+ <pre> ::file-selector-button { border: 3px solid green }</pre>
909
+ </div>
894
910
895
911
<h2 id="interactions">
896
912
Overlapping Pseudo-element Interactions</h2>
You can’t perform that action at this time.
0 commit comments