CSS - div width depending on image size above

后端 未结 6 702
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 14:59



        
6条回答
  •  清酒与你
    2020-12-17 15:43

    What would be needed is a width attribute like availabe in Android layouts, which is named width: wrap-content. Maybe this would be a good proposal for CSS, as it has proven handy in designing screens.

提交回复
热议问题