Mighty Posted July 7, 2018 Report Share Posted July 7, 2018 Как прижать картинку к низу блока и поместить ее в центр, а текст посередине вверху при открытие на телефоне. http://prntscr.com/k3rbst Вот код: http://jsfiddle.net/aq9Laaew/75504/ Quote Link to comment Share on other sites More sharing options...
Alexej Posted July 7, 2018 Report Share Posted July 7, 2018 bottom 0 картинке. Ну и центр left 50% (и минус половина картинки margin-left: - 10px например) Quote Link to comment Share on other sites More sharing options...
Mighty Posted July 8, 2018 Author Report Share Posted July 8, 2018 Как только ставлю bottom: 0; картинка исчезает Quote Link to comment Share on other sites More sharing options...
Alexej Posted July 8, 2018 Report Share Posted July 8, 2018 background: url(../images/banner.jpg); я не вижу картинки вашей. добавьте его туда. Quote Link to comment Share on other sites More sharing options...
Mighty Posted July 8, 2018 Author Report Share Posted July 8, 2018 Вот так будет легче http://rgho.st/6wtLxCdxS Quote Link to comment Share on other sites More sharing options...
Alexej Posted July 8, 2018 Report Share Posted July 8, 2018 картинку через bgimage засуньте в row или container там и отцентруйте с помощю bgposition Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.