<h1>La misma imagen SVG establecida como background de diferentes tamaños</h1>
<div class="wrap">
  <p>bakcground 150x150</p>
  <div class="logo">
  </div>
</div>
<div class="wrap">
  <p>bakcground 300x300</p>
  <div class="logo big">
  </div>
</div>
* {
  font-family: sans-serif;
}
div.logo {
    display: block;
    width: 150px;
    height: 150px;
    background: url("//upload.wikimedia.org/wikipedia/commons/8/84/Example.svg") no-repeat;
    background-size: contain;
    margin: 20px;
}
 
div.logo.big {
    width: 300px;
    height: 300px;
}
@media (min-width: 768px){
  .wrap {
    width: 50%;
    float: left;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.