This is my readme file:
<img src="header.svg" width="800" height="400px">
I would like the box to expand vertically (or show a scrollbar) if header.svg
is actually taller than 400px.
I've tried:
<img src="header.svg" width="800" height="400px" style="overflow: visible">
but that does not seem to work. Any suggestions?
Here's the repo I'm working on for reference: https://github.com/da5nsy/css-in-readme-like-wat
Edit for clarity: You can't use a CSS stylesheet on github readme pages, but you can put it inside an SVG and then display that SVG. So my question is essentially - is there a way to display an SVG through HTML in a way that will allow it to expand at the bottom?