Nope. Autocomplete is not a part of any standard, and is not part of the DOM. The only way to style is, as you’ve suggested yourself, by recreating that functionality using JavaScript.
More Related Contents:
- How to collect and manipulate data in HTML using
- Bootstrap height
- How to align checkboxes and their labels consistently cross-browsers
- Put icon inside input element in a form
- Google Chrome form autofill and its yellow background
- How do I change the color of radio buttons?
- Is there a way to style part of an input field’s value? [duplicate]
- Disabled form fields not submitting data [duplicate]
- Use a normal link to submit a form
- Line break (like ) using only css
- How to disable the resize grabber of ? [duplicate]
- How can I style a file input field in Firefox?
- Use Fieldset Legend with bootstrap
- Inline Form nested within Horizontal Form in Bootstrap 3
- Why do s clear floats?
- Can a ::before selector be used with a ?
- How to change the style of a ‘s label?
- Which elements support the ::before and ::after pseudo-elements?
- How to align texts inside of an input?
- How do I style the HTML form validation error messages with CSS?
- Multiple submit buttons on HTML form – designate one button as default [duplicate]
- Can you style html form buttons with css?
- Why use definition lists (DL,DD,DT) tags for HTML forms instead of tables?
- How can I control the height of an Option element in Webkit?
- Make input element (type=”text”) handle multiple lines of text
- Is it bad design to use table tags when displaying forms in html?
- How do I style radio buttons with images – laughing smiley for good, sad smiley for bad?
- Why does styling the background of the body element affect the entire screen?
- How to give the background-image path in CSS?
- How to implement curve background in CSS? [duplicate]