Stop chrome from auto styling input type=search

Radon

New Member
Is there anyway to prevent Chrome from styling the \[code\]input type=search\[/code\]. I can style the input fine when it is a \[code\]input type=text\[/code\] although once I change this to a HTML5 search it boxs all styles I have applied to the input. Type = text
9UklL.png
Type = search
L42Tp.png
Updated answer with reset properties\[code\]input[type="search"] { -webkit-appearance: textfield;}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none;}\[/code\]
 
Back
Top