Can you use the button "key" as a css ID?

EG)
button = st.button("Name", key= "button")
st.markdown("<style> #button { margin-top:40%; width: 100%;} <style>", unsafe_allow_html=True)

1 Like

As far as I can tell, no, key isn’t passed through to the frontend for use as a selector. Interesting idea though :slight_smile: