As far as I am aware it is not possible to set the id or class tag for Streamlit elements that will be used when rendered to HTML.
Giving an id tag would allow to adress a desired element, e.g. a specific input element or whatever could be adressed for specific styling via CSS.