Hi guys. Does anyone know of a way to change the foreground colour of the ::-webkit-search-decoration, ::-webkit-search-cancel-button, ::-webkit-search-results-button, or ::-webkit-search-results-decoration pseudo-elements?
Specifically, I want to change the foreground colour to white when the element is not focused, and red when it is, so that it contrasts with the background colour and matches the text colour. :active, :focus { -webkit-search-field-furniture-foreground-color: darkredish } :valid:hover { -webkit-search-field-furniture-foreground-color: white } Also, is there a way to make the focus outline ends semi-circular? I tried -webkit-outline-radius and outline-radius in both Chrome 38 and Safari 7.1 without joy. Do I need to implement it myself? -- Nicholas.
signature.asc
Description: Message signed with OpenPGP using GPGMail
______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/