Working on the tribute page and cant center image?

Working on the tribute page and cant center image?
0

#1

Cannot center my mario image when mobile? Ive tryed center-block, and a few other css routes but nothing seems to work without it just staying in the center the whole time? v.v;

The goal is to center the mario then bring it down when in mobile.

Any suggestions?


#2
  <div class="row">
      <div class="col-xs-offset-4 col-xs-4">
        <img class="img-responsive center-block" id="mario-img" src="https://supermariorun.com/img/index/sec01_chara_mario.png">
      </div>
 </div>

will put your mario at the center of the page


#3

Thanks but I ment more in a responsive way, starting on the left then moving to the center on smaller devices.