Hey guys,
is there a way to remove the border around a streamlit form container?

Hey guys,
is there a way to remove the border around a streamlit form container?

Here you go! (This will apply to all forms on the page.)
css = r'''
<style>
[data-testid="stForm"] {border: 0px}
</style>
'''
st.markdown(css, unsafe_allow_html=True)
Thank you very much!
There is now a border parameter for st.form as of version 1.29.0!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.