How to mark up two blocks?

How to make two blocks: one on the left, second from the right, the width of the 1st depends on the internal content and the 2nd to the width of the 1st block?
July 2nd 19 at 17:22
3 answers
July 2nd 19 at 17:24
Solution
Well, I only slightly altered under the task: https://jsfiddle.net/y9stqenv/2/ - chelsey_Schmidt commented on July 2nd 19 at 17:27
good for you, then you should mark the answer solution?) - kasandra.Hackett commented on July 2nd 19 at 17:30
not a question ) - chelsey_Schmidt commented on July 2nd 19 at 17:33
July 2nd 19 at 17:26
Solution
using flexbox, with the information that's in Google.
Not supported by older browsers... It's not too scary? - chelsey_Schmidt commented on July 2nd 19 at 17:29
: hmm, maybe I confuse something, but... https://css-tricks.com/using-flexbox/ - kasandra.Hackett commented on July 2nd 19 at 17:32
July 2nd 19 at 17:28
Solution
buttrape in any way. but as I understand you need a table
To impose such an element with the tag table? - chelsey_Schmidt commented on July 2nd 19 at 17:31

Find more questions by tags BootstrapCSSHTML