make parent container fit video child
i have a video wrapped witha container. the video has a set size. is there any way to make the container expand its height to match the video? the video is overflowing the container right now
or is this improper css
![](https://cdn.answeroverflow.com/1130564004515942580/image.png)
1 Reply
I think it is probably improper css
by default video tag is inline. But the height will be set automatically to the video height
so i think your parent container has a fixed height, which is causing this overflow