changing svg size css code example
Example: bootstrap 4 auto resize svg image
<img src="monkey.svg" alt="Monkey face" style="width: 100%; height: auto;">
<img src="monkey.svg" alt="Monkey face" style="width: 100%; height: auto;">