Why the botton can not apply css?,but textbox works great

import gradio as gr
import numpy as np

css = """
#warning {background-color: #FFCCCB} 
.feedback textarea {font-size: 64px !important}
"""

with gr.Blocks(css=css) as demo:
    box1 = gr.Button(value="Good Job", elem_classes="feedback")
    box2 = gr.Textbox(value="Failure", elem_id="warning",
                      elem_classes="feedback")



if __name__ == "__main__":
    demo.launch(inbrowser=True)

this css works changing the button style and the textarea

css = """
#warning {background-color: #FFCCCB} 
.feedback {font-size: 64px !important;}
.feedback textarea {font-size: 64px !important;}
"""
1 Like

Thanks.it works! Could you tell me how it works? what’s the diff between textbox and button??

I’m confused and trying to figure out why some CSS styles are applied on certain components but not others.
Button: font β†’ ok, color->fail
Label: font β†’ fail, color β†’ ok
Textbox: font->ok, color ->ok
I can’t find