CSS make textbox fill all available width

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

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

\"Some Text\" \"Some more text\"
7条回答
  •  死守一世寂寞
    2021-02-12 10:33

    You can set the width of the textbox to 100% (with css as you did with the div), so it'll be spanned to the full extent of it's parent (assuming the parent tag extends the full screen).

提交回复
热议问题