-
-
Save tylerFowler/72059bc70cdb67dd452b to your computer and use it in GitHub Desktop.
Revisions
-
Aurelius Wendelken revised this gist
Dec 30, 2014 . 1 changed file with 3 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -790,9 +790,6 @@ Form validation message-bubbe Source ------------- * https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements * http://msdn.microsoft.com/en-us/library/windows/apps/hh767361.aspx * http://realworldvalidator.com/css/pseudoelements -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,6 +72,8 @@ input[type=range]::-webkit-slider-thumb:before input[type=range]::-webkit-slider-thumb:after input[type=range]:active::-webkit-slider-thumb input[type=range]:hover::-webkit-slider-thumb:before input[type=range]:hover::-webkit-slider-thumb:after -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -106,6 +106,12 @@ input[type=range]::-moz-range-progress input[type=range]::-moz-range-thumb input[type=range]:focus::-moz-range-thumb input[type=range]:focus::-moz-range-thumb:before input[type=range]:focus::-moz-range-thumb:after input[type=range]::-moz-focus-outer input[type=range]::-ms-fill-lower -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -64,6 +64,8 @@ input[type=range]::-webkit-media-slider-container input[type=range]::-webkit-slider-runnable-track input[type=range]:focus::-webkit-slider-runnable-track input[type=range]::-webkit-slider-thumb input[type=range]::-webkit-slider-thumb:before @@ -120,6 +122,8 @@ input[type=range]::-ms-thumb:hover input[type=range]::-ms-track input[type=range]:focus::-ms-track input[type=range]::ms-tooltip ``` -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -780,4 +780,7 @@ Source ------------- https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements http://msdn.microsoft.com/en-us/library/windows/apps/hh767361.aspx http://realworldvalidator.com/css/pseudoelements -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -778,4 +778,6 @@ Form validation message-bubbe Source ------------- https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements http://msdn.microsoft.com/en-us/library/windows/apps/hh767361.aspx -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -774,4 +774,8 @@ Form validation message-bubbe ::-webkit-validation-bubble-message ::-webkit-validation-bubble-text-block ``` Source ------------- http://msdn.microsoft.com/en-us/library/windows/apps/hh767361.aspx -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -96,8 +96,12 @@ input[type=range]::-webkit-color-swatch input[type=range]::-moz-range-track input[type=range][orient=vertical]::-moz-range-track input[type=range]:focus::-moz-range-track input[type=range]::-moz-range-progress input[type=range]::-moz-range-thumb input[type=range]::-moz-focus-outer @@ -164,6 +168,10 @@ Webkit provides two pseudo elements for its color picker. input[type=color]::-webkit-color-swatch input[type=color]::-webkit-color-swatch-wrapper input[type=color]::-moz-color-swatch input[type=color]::-moz-focus-inner ``` @@ -297,6 +305,8 @@ input::-webkit-textfield-decoration-container input::-webkit-calendar-picker-indicator input::-moz-placeholder input::-moz-focus-inner input::-ms-clear @@ -358,6 +368,14 @@ meter::-webkit-meter-vertical-optimum-value meter::-webkit-meter-vertical-suboptimal-value meter::-webkit-meter-vertical-even-less-good-value meter::-moz-meter-bar meter:-moz-meter-optimum::-moz-meter-bar meter:-moz-meter-sub-optimum::-moz-meter-bar meter:-moz-meter-sub-sub-optimum::-moz-meter-bar ``` On Mac OS X, WebKit provides multiple built-in appearances for `<meter>`. @@ -397,6 +415,8 @@ textarea::-webkit-resizer textarea::-webkit-resizer:window-inactive textarea::-webkit-input-placeholder textarea::-moz-placeholder ``` *Note: Adding `display: none` to `::-webkit-resizer` doesn't actually prevent the user from resizing the textarea, it just hides the control. If you want to disable resizing in textarea use this.* -
Aurelius Wendelken revised this gist
Dec 7, 2014 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -181,6 +181,16 @@ input[type=number]::-webkit-textfield-decoration-container:after input[type=number]::-webkit-inner-spin-button input[type=number]::-webkit-outer-spin-button input[type=number]::-moz-number-wrapper input[type=number]::-moz-number-text input[type=number]::-moz-number-spin-box input[type=number]::-moz-number-spin-up input[type=number]::-moz-number-spin-down ``` -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -84,14 +84,22 @@ input[type=range]:disabled::-webkit-slider-thumb:after input[type=range]::-webkit-media-slider-thumb input[type=range]:disabled::-webkit-slider-thumb input[type=range]:hover::-webkit-slider-thumb input[type=range]:focus::-webkit-slider-thumb input[type=range]::-webkit-color-swatch-wrapper input[type=range]::-webkit-color-swatch input[type=range]::-moz-range-track input[type=range]:focus::-moz-range-track input[type=range]::-moz-range-thumb input[type=range]::-moz-focus-outer input[type=range]::-ms-fill-lower -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 16 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -397,6 +397,22 @@ img::-webkit-image-inner-element ``` <p> ------------- ```css p::after p::before p::first-letter p::first-line p::selection ``` <video> ------------- -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ video /deep/ input[type=range] { Note ------------- All Trident pseudo-elements listed here were added in IE10 and will not work in earlier versions of Internet Explorer. In WebKit, to style some pseudo-elements you must set the basis element’s `-webkit-appearance` pseudo-class to `none`. <input type="search"> -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Styling native elements Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element `::pseudo-element` or the `/deep/` path selector. ```css video::webkit-media-controls-timeline { background-color: lime; } -
Aurelius Wendelken revised this gist
Dec 6, 2014 . No changes.There are no files selected for viewing
-
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ Styling native elements ------------- Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element `::pseudo-element` or the `/deep/` path selector. ```css selector::pseudo-element { background-color: lime; } video /deep/ input[type=range] { background-color: lime; } -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -263,6 +263,10 @@ WebKit provides a pseudo-element that can be used to customize the dropdown that Gecko and Webkit applies following pseudo-elements to there inputs. ```css input:valid + label::after input:invalid + label::after input::-webkit-input-list-button input::-webkit-input-speech-button -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 19 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Styling native elements ------------- Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element `::shadow` or the `/deep/` path selector. ```css video /deep/ input[type=range] { @@ -62,6 +62,22 @@ input[type=range]::-webkit-slider-runnable-track input[type=range]::-webkit-slider-thumb input[type=range]::-webkit-slider-thumb:before input[type=range]::-webkit-slider-thumb:after input[type=range]:hover::-webkit-slider-thumb:before input[type=range]:hover::-webkit-slider-thumb:after input[type=range]:focus::-webkit-slider-thumb:before input[type=range]:focus::-webkit-slider-thumb:after input[type=range]:disabled::-webkit-slider-thumb:before input[type=range]:disabled::-webkit-slider-thumb:after input[type=range]::-webkit-media-slider-thumb input[type=range]::-webkit-slider-thumb:disabled @@ -351,7 +367,9 @@ This pseudo-element also allows some basic styling for the textarea resizer. ```css textarea::-webkit-resizer textarea::-webkit-resizer:window-inactive textarea::-webkit-input-placeholder ``` -
Aurelius Wendelken revised this gist
Dec 6, 2014 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,13 @@ Styling native elements ------------- Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element `::shadow` or the `/deep/` psth selector. ```css video /deep/ input[type=range] { background-color: lime; } ``` Note ------------- All Trident pseudo-elements listed here were added in IE10 and will not work in earlier versions of Internet Explorer. In WebKit, to style some pseudo-elements you must set the basis element’s `-webkit-appearance pseudo-class` to `none`. -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -276,6 +276,14 @@ details::-webkit-details-marker ``` <summary> ------------- ```css summary::-webkit-details-marker ``` <meter> ------------- WebKit provides pseudo-elements to customize the display of meter elements. -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 185 additions and 181 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -276,6 +276,76 @@ details::-webkit-details-marker ``` <meter> ------------- WebKit provides pseudo-elements to customize the display of meter elements. ```css meter::-webkit-meter meter::-webkit-meter-horizontal-bar meter::-webkit-meter-vertical-bar meter::-webkit-meter-horizontal-optimum-value meter::-webkit-meter-horizontal-suboptimal-value meter::-webkit-meter-horizontal-even-less-good-value meter::-webkit-meter-vertical-optimum-value meter::-webkit-meter-vertical-suboptimal-value meter::-webkit-meter-vertical-even-less-good-value ``` On Mac OS X, WebKit provides multiple built-in appearances for `<meter>`. ```css /* Default */ -webkit-appearance: continuous-capacity-level-indicator; -webkit-appearance: discrete-capacity-level-indicator; -webkit-appearance: relevancy-level-indicator; -webkit-appearance: rating-level-indicator; ``` <progress> ------------- WebKit provides pseudo-elements to style progress elements. And Gecko provides a pseudo-element to style the progress bar itself. Like Gecko, Trident provides a single pseudo-element to style the progress bar. ```css progress::-webkit-progress-bar progress::-webkit-progress-value progress::-webkit-progress-bar-value progress::-moz-progress-bar progress::-ms-fill ``` <textarea> ------------- This pseudo-element also allows some basic styling for the textarea resizer. ```css textarea::-webkit-resizer textarea::-webkit-resizer:window-inactive textarea::-webkit-input-placeholder ``` *Note: Adding `display: none` to `::-webkit-resizer` doesn't actually prevent the user from resizing the textarea, it just hides the control. If you want to disable resizing in textarea use this.* ```css textarea { resize: none; } ``` <img> ------------- ```css @@ -359,301 +429,235 @@ audio::-webkit-media-controls-toggle-closed-captions-button ``` Scrollbar ------------- Custom Scrollbars in WebKit. ```css ::-webkit-scrollbar ::-webkit-scrollbar-button ::-webkit-scrollbar-button:disabled ::-webkit-scrollbar-button:double-button:horizontal:end:decrement ::-webkit-scrollbar-button:double-button:horizontal:end:increment ::-webkit-scrollbar-button:double-button:horizontal:end:increment:corner-present ::-webkit-scrollbar-button:double-button:horizontal:start:decrement ::-webkit-scrollbar-button:double-button:horizontal:start:increment ::-webkit-scrollbar-button:double-button:vertical:end:decrement ::-webkit-scrollbar-button:double-button:vertical:end:increment ::-webkit-scrollbar-button:double-button:vertical:end:increment:corner-present ::-webkit-scrollbar-button:double-button:vertical:start:decrement ::-webkit-scrollbar-button:double-button:vertical:start:increment ::-webkit-scrollbar-button:end ::-webkit-scrollbar-button:end:decrement ::-webkit-scrollbar-button:end:increment ::-webkit-scrollbar-button:horizontal ::-webkit-scrollbar-button:horizontal:decrement ::-webkit-scrollbar-button:horizontal:decrement:active ::-webkit-scrollbar-button:horizontal:decrement:hover ::-webkit-scrollbar-button:horizontal:decrement:window-inactive ::-webkit-scrollbar-button:horizontal:end ::-webkit-scrollbar-button:horizontal:end:decrement ::-webkit-scrollbar-button:horizontal:end:increment ::-webkit-scrollbar-button:horizontal:end:increment:corner-present ::-webkit-scrollbar-button:horizontal:increment ::-webkit-scrollbar-button:horizontal:increment:active ::-webkit-scrollbar-button:horizontal:increment:hover ::-webkit-scrollbar-button:horizontal:increment:window-inactive ::-webkit-scrollbar-button:horizontal:start ::-webkit-scrollbar-button:horizontal:start:decrement ::-webkit-scrollbar-button:horizontal:start:increment ::-webkit-scrollbar-button:start ::-webkit-scrollbar-button:start:decrement` ::-webkit-scrollbar-button:start:increment ::-webkit-scrollbar-button:vertical ::-webkit-scrollbar-button:vertical:decrement ::-webkit-scrollbar-button:vertical:decrement:active ::-webkit-scrollbar-button:vertical:decrement:hover ::-webkit-scrollbar-button:vertical:decrement:window-inactive ::-webkit-scrollbar-button:vertical:end ::-webkit-scrollbar-button:vertical:end:decrement ::-webkit-scrollbar-button:vertical:end:increment ::-webkit-scrollbar-button:vertical:end:increment:corner-present ::-webkit-scrollbar-button:vertical:increment ::-webkit-scrollbar-button:vertical:increment:active ::-webkit-scrollbar-button:vertical:increment:hover ::-webkit-scrollbar-button:vertical:increment:window-inactive ::-webkit-scrollbar-button:vertical:start ::-webkit-scrollbar-button:vertical:start:decrement ::-webkit-scrollbar-button:vertical:start:increment ::-webkit-scrollbar-corner ::-webkit-scrollbar-corner:window-inactive ::-webkit-scrollbar-thumb ::-webkit-scrollbar-thumb:horizontal ::-webkit-scrollbar-thumb:horizontal:active ::-webkit-scrollbar-thumb:horizontal:hover ::-webkit-scrollbar-thumb:horizontal:window-inactive ::-webkit-scrollbar-thumb:vertical ::-webkit-scrollbar-thumb:vertical:active ::-webkit-scrollbar-thumb:vertical:hover ::-webkit-scrollbar-thumb:vertical:window-inactive ::-webkit-scrollbar-track ::-webkit-scrollbar-track-piece ::-webkit-scrollbar-track-piece:disabled ::-webkit-scrollbar-track-piece:end ::-webkit-scrollbar-track-piece:horizontal:decrement ::-webkit-scrollbar-track-piece:horizontal:decrement:active ::-webkit-scrollbar-track-piece:horizontal:decrement:hover ::-webkit-scrollbar-track-piece:horizontal:end ::-webkit-scrollbar-track-piece:horizontal:end:corner-present ::-webkit-scrollbar-track-piece:horizontal:end:double-button ::-webkit-scrollbar-track-piece:horizontal:end:no-button ::-webkit-scrollbar-track-piece:horizontal:end:no-button:corner-present ::-webkit-scrollbar-track-piece:horizontal:end:single-button ::-webkit-scrollbar-track-piece:horizontal:increment ::-webkit-scrollbar-track-piece:horizontal:increment:active ::-webkit-scrollbar-track-piece:horizontal:increment:hover ::-webkit-scrollbar-track-piece:horizontal:start ::-webkit-scrollbar-track-piece:horizontal:start:double-button ::-webkit-scrollbar-track-piece:horizontal:start:no-button ::-webkit-scrollbar-track-piece:horizontal:start:single-button ::-webkit-scrollbar-track-piece:start ::-webkit-scrollbar-track-piece:vertical:decrement ::-webkit-scrollbar-track-piece:vertical:decrement:active ::-webkit-scrollbar-track-piece:vertical:decrement:hover ::-webkit-scrollbar-track-piece:vertical:end ::-webkit-scrollbar-track-piece:vertical:end:corner-present ::-webkit-scrollbar-track-piece:vertical:end:double-button ::-webkit-scrollbar-track-piece:vertical:end:no-button ::-webkit-scrollbar-track-piece:vertical:end:no-button:corner-present ::-webkit-scrollbar-track-piece:vertical:end:single-button ::-webkit-scrollbar-track-piece:vertical:increment ::-webkit-scrollbar-track-piece:vertical:increment:active ::-webkit-scrollbar-track-piece:vertical:increment:hover ::-webkit-scrollbar-track-piece:vertical:start ::-webkit-scrollbar-track-piece:vertical:start:double-button ::-webkit-scrollbar-track-piece:vertical:start:no-button ::-webkit-scrollbar-track-piece:vertical:start:single-button ::-webkit-scrollbar-track:disabled ::-webkit-scrollbar-track:horizontal ::-webkit-scrollbar-track:horizontal:disabled ::-webkit-scrollbar-track:horizontal:disabled:corner-present ::-webkit-scrollbar-track:vertical:disabled ::-webkit-scrollbar-track:vertical:disabled:corner-present ::-webkit-scrollbar:horizontal ::-webkit-scrollbar:horizontal:corner-present ::-webkit-scrollbar:horizontal:window-inactive ::-webkit-scrollbar:vertical ::-webkit-scrollbar:vertical:corner-present ::-webkit-scrollbar:vertical:window-inactive ::-webkit-textfield-decoration-container ``` Form validation message-bubbe -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,6 @@ Note ------------- All Trident pseudo-elements listed here were added in IE10 and will not work in earlier versions of Internet Explorer. In WebKit, to style some pseudo-elements you must set the basis element’s `-webkit-appearance pseudo-class` to `none`. <input type="search"> ------------- @@ -243,6 +239,8 @@ Gecko and Webkit applies following pseudo-elements to there inputs. ```css input::-webkit-input-list-button input::-webkit-input-speech-button input::-webkit-textfield-decoration-container input::-webkit-calendar-picker-indicator -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,9 @@ input[type=search]::-webkit-search-decoration input[type=search]::-webkit-search-results-decoration input[type=search]::-webkit-search-results-button input[type=search]::-webkit-textfield-decoration-container ``` @@ -60,6 +62,10 @@ input[type=range]::-webkit-slider-thumb:disabled input[type=range]::-webkit-slider-thumb:hover input[type=range]::-webkit-color-swatch-wrapper input[type=range]::-webkit-color-swatch input[type=range]::-moz-focus-outer input[type=range]::-ms-fill-lower @@ -134,6 +140,10 @@ WebKit provides a spinner control by default for number picker inputs. While you ```css input[type=number]::-webkit-textfield-decoration-container input[type=number]::-webkit-textfield-decoration-container:before input[type=number]::-webkit-textfield-decoration-container:after input[type=number]::-webkit-inner-spin-button input[type=number]::-webkit-outer-spin-button @@ -233,6 +243,10 @@ Gecko and Webkit applies following pseudo-elements to there inputs. ```css input::-webkit-input-list-button input::-webkit-textfield-decoration-container input::-webkit-calendar-picker-indicator input::-moz-focus-inner input::-ms-clear -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 26 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,15 +6,15 @@ tbd. `::-webkit-input-speech-button` <input type="search"> ------------- ```css input[type=search]::-webkit-search-cancel-button input[type=search]::-webkit-search-cancel-button:after input[type=search]::-webkit-search-decoration input[type=search]::-webkit-search-results-decoration @@ -79,6 +79,18 @@ input[type=range]::-ms-track input[type=range]::ms-tooltip ``` <input type="time"> ------------- Applies one or more styles to the clear button of a text input control. The clear button is shown only when the text input control has focus and is not empty. ```css input[type=time]::-ms-clear input[type=time]::-webkit-clear-button ``` <input type="date"> ------------- The following pseudo-elements are made available by WebKit for customizing a date input’s textbox. @@ -99,6 +111,8 @@ input[type=date]::-webkit-datetime-edit-year-field input[type=date]::-webkit-inner-spin-button input[type=date]::-webkit-calendar-picker-indicator input[type=date]::-webkit-clear-button ``` @@ -220,6 +234,8 @@ Gecko and Webkit applies following pseudo-elements to there inputs. input::-webkit-input-list-button input::-moz-focus-inner input::-ms-clear ``` @@ -240,6 +256,14 @@ select::-ms-expand ``` <details> ------------- ```css details::-webkit-details-marker ``` <img> ------------- ```css -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 23 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -144,12 +144,25 @@ input[type=radio]::-ms-check ``` <input type="text"> ------------- As of IE10 Trident provides the pseudo-element ::-ms-value to style the value portion of text inputs. Further more in IE10 when a text input has focus and is not empty, a small (x) control appears in the right hand side of the input. When clicked, the control will clear the contents of the text input. ```css input[type=text]::-ms-value input[type=text]::-ms-clear ``` <input type="password"> ------------- Trident provides a control on password inputs that can be pressed to display the password in plain text. And as of IE10 Trident provides the pseudo-element ::-ms-value to style the value portion of text inputs. ```css input[type=password]::-ms-reveal input[type=password]::-ms-value ``` @@ -218,6 +231,15 @@ button::-moz-focus-inner ``` <select> ------------- As of IE10 Trident gives you a hook to style the arrow within select dropdowns. ```css select::-ms-expand ``` <img> ------------- ```css -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,6 +72,8 @@ input[type=range]::-ms-ticks-after input[type=range]::-ms-thumb input[type=range]::-ms-thumb:hover input[type=range]::-ms-track input[type=range]::ms-tooltip -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 24 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,7 +43,7 @@ input[type=file] > input[type=button]::-moz-focus-inner <input type="range"> ------------- WebKit provides a pseudo-element for the track and for the range handle itself. As of Firefox 22, Gecko provides pseudo-elements for styling range inputs. Trident provides a bunch of pseudo-elements to customize its range selector. ```css input[type=range]::-webkit-slider-container @@ -61,6 +61,20 @@ input[type=range]::-webkit-slider-thumb:disabled input[type=range]::-webkit-slider-thumb:hover input[type=range]::-moz-focus-outer input[type=range]::-ms-fill-lower input[type=range]::-ms-fill-upper input[type=range]::-ms-ticks-before input[type=range]::-ms-ticks-after input[type=range]::-ms-thumb input[type=range]::-ms-track input[type=range]::ms-tooltip ``` <input type="date"> @@ -128,6 +142,15 @@ input[type=radio]::-ms-check ``` <input type="password"> ------------- Trident provides a control on password inputs that can be pressed to display the password in plain text. ```css input[type=password]::-ms-reveal ``` <input type="reset"> ------------- -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 24 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,30 +9,6 @@ tbd. `::-webkit-details-marker` <input type="search"> ------------- @@ -152,6 +128,30 @@ input[type=radio]::-ms-check ``` <input type="reset"> ------------- ```css input[type=reset]::-moz-focus-inner ``` <input type="submit"> ------------- ```css input[type=submit]::-moz-focus-inner ``` <input type="button"> ------------- ```css input[type=button]::-moz-focus-inner ``` placeholder Attribute ------------- WebKit and Gecko provide a placeholder pseudo-element. *Note: Gecko switched from the pseudo-class `:-moz-placeholder` to the pseudo-element `::-moz-placeholder` in Firefox 19.* -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -83,6 +83,8 @@ input[type=range]::-webkit-media-slider-thumb input[type=range]::-webkit-slider-thumb:disabled input[type=range]::-webkit-slider-thumb:hover input[type=range]::-moz-focus-outer ``` <input type="date"> @@ -174,9 +176,12 @@ WebKit provides a pseudo-element that can be used to customize the dropdown that <input> ------------- Gecko and Webkit applies following pseudo-elements to there inputs. ```css input::-webkit-input-list-button input::-moz-focus-inner ``` -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 40 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,38 @@ All Trident pseudo-elements listed here were added in IE10 and will not work in tbd. `::-webkit-input-speech-button` `::-webkit-details-marker` <input type="reset"> ------------- ```css input[type=reset]::-moz-focus-inner ``` <input type="submit"> ------------- ```css input[type=submit]::-moz-focus-inner ``` <input type="button"> ------------- ```css input[type=button]::-moz-focus-inner ``` <input type="search"> ------------- ```css input[type=search]::-webkit-search-cancel-button @@ -18,12 +46,11 @@ input[type=search]::-webkit-search-results-decoration input[type=search]::-webkit-search-results-button ``` <input type="file"> ------------- WebKit provides a hook for its file input button with the pseudo-element. ```css input[type=file]::-ms-browse @@ -34,6 +61,8 @@ input[type=file]:focus::-webkit-file-upload-button input[type=file]:active::-webkit-file-upload-button input[type=file]:active:disabled::-webkit-file-upload-button input[type=file] > input[type=button]::-moz-focus-inner ``` <input type="range"> @@ -151,6 +180,14 @@ input::-webkit-input-list-button ``` <button> ------------- ```css button::-moz-focus-inner ``` <img> ------------- ```css -
Aurelius Wendelken revised this gist
Dec 4, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -188,6 +188,8 @@ video::-webkit-media-controls-seek-forward-button video::-webkit-media-controls-fullscreen-button video::-webkit-media-controls-overlay-play-button video::-webkit-media-controls-rewind-button video::-webkit-media-controls-return-to-realtime-button
NewerOlder