CSS make textbox fill all available width

前端 未结 7 806
感动是毒
感动是毒 2021-02-12 09:53

I have the following \"line\" in my web page

\"Some Text\" \"Some more text\"
7条回答
  •  无人共我
    2021-02-12 10:23

    Here is what worked for me. Note that in some cases I had to use   between items otherwise it fell to the next line.

    .flexContainer {
        display: flex;
        width:100%;
    }
    input {
        width: 100%;
    }
    text:   

提交回复
热议问题