Last active
December 18, 2015 00:59
-
-
Save jackmcmorrow/5701014 to your computer and use it in GitHub Desktop.
Para criar rodapé fixo no pé da página, mesmo que o conteúdo não esteja empurrando ele. Só adicionar esse mixin usando @include e seguir a marcação. Você pode escolher o seletor dos elementos, no melhor estilo função de jQuery: @include sticky ('200px', 'body #wrapper', '#wrapper #root', '.rodape'); O rodapé precisa ter um tamanho fixo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head></head> | |
<body> | |
<div id="wrapper"> | |
<!-- Conteúdo aqui --> | |
<div id="root"></div> | |
</div> | |
<div id="footer"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment