Correct background resizing on Firefox

https://stackoverflow.com/a/24104710
This commit is contained in:
Adarnof 2018-02-20 15:29:56 -05:00 committed by GitHub
parent 36e39503c8
commit 6f7cf8805d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
<style> <style>
body { body {
background: url('{% static 'authentication/img/background.jpg' %}') no-repeat scroll; background: url('{% static 'authentication/img/background.jpg' %}') no-repeat center center fixed;
-webkit-background-size: cover; -webkit-background-size: cover;
-moz-background-size: cover; -moz-background-size: cover;
-o-background-size: cover; -o-background-size: cover;
@ -48,4 +48,4 @@
{% endblock %} {% endblock %}
</div> </div>
</body> </body>
</html> </html>