Base Input Style Changing Problem

title = st.text_input(‘File Path:’, ‘Path:’)

st.write('The title is', title)
st.markdown("<style>.stTextInput  > label {font-size:120%; font-weight:bold; color:white; background:linear-gradient(to bottom, #3399ff  0%,#00ffff  100%);border: 2px ;border-radius: 3px;} </style>",unsafe_allow_html=True) #for all text input sections

st.markdown("<style>.stbase-input  > label {font-size:120%; font-weight:bold; color:white; background:linear-gradient(to bottom, #3399ff  0%,#00ffff  100%);border: 2px ;border-radius: 3px;} </style>",unsafe_allow_html=True) #for all base input sections

Is there any way to reach to the base input section with CSS for CSS style changing ? Text input is working.

st.markdown("""
<style>
.stTextInput > label {
font-size:120%;
font-weight:bold;
color:white;
background:linear-gradient(to bottom, #3399ff 0%,#00ffff 100%);
border: 2px;
border-radius: 3px;
}

[data-baseweb="base-input"]{
background:linear-gradient(to bottom, #3399ff 0%,#00ffff 100%);
border: 2px;
border-radius: 3px;
}

input[class]{
font-weight: bold;
font-size:120%;
color: white;
}
</style>
""", unsafe_allow_html=True)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.