svg.small-svg { height: 50%; min-height: 50%; max-width: 100%; } svg.large-svg { height: 60%; min-height: 60%; max-width: 100%; }