How to stretch the width of an element, so that it's 100% - widths of its siblings?

前端 未结 11 2316
悲&欢浪女
悲&欢浪女 2020-12-12 18:41

Say, I have the following unordered list. The button has width: auto. How do I style the elements, so #textField would stretch as much as possible,

11条回答
  •  余生分开走
    2020-12-12 19:04

    This is pretty close to the desired result:

    
    
    
    
    
    
    

提交回复
热议问题