Каков синтаксис написания комментариев в файле build.gradle?

Чтобы получить липкий нижний колонтитул:

  1. У вас есть <div> с class="wrapper" для вашего контента.
  2. Перед закрытием </div> в wrapper поместите <div class="push"></div>.
  3. Сразу после закрытия </div> wrapper поместите <div class="footer"></div>.
* {
    margin: 0;
}
html, body {
    height: 100%;
}
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
    height: 142px; /* .push must be the same height as .footer */
}
151
задан Machado 15 March 2016 в 11:13
поделиться