img.img-responsive { display: block; margin-left: auto; margin-right: auto; } 参考:https://www.22vd.com/38777.html