Is there a way to apply the width of the runtime from one element to another element using only CSS and javascript? If not ... CSS4 needs this :).
no, this is not possible with css unless the elements are wrapped inside each other.
The other is when you say wrap compression by an element with its container or when you have a block element with width: auto expanding to fill its container, this is not possible.
width: auto
Source: https://habr.com/ru/post/1345291/More articles:Download WP7 Image - c #The dynamic file name in the Maven archetype is mavenCase-sensitive case-sensitive string comparison pattern - .netRX AutoCompleteBox - c #Error using C ++ for Android. Use FLAG_RECEIVER_BOOT_UPGRADE here. - androidLinq to Entity Group by Date - c #What is wrong with this MySQL statement? - sqlRegular expression for capital matching - ruby | fooobar.comIs there a nice description of the features of the language? - language-agnosticcameraOverlayView higher shutter animation - iosAll Articles