Advertisement
Guest User

owncloud

a guest
Mar 14th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. ## This works
  2.  
  3. #body-login {
  4. text-align: center;
  5. background: #000; /* Old browsers */
  6. background-image: url('https://www.techandme.se/wp-content/uploads/2015/12/bbbackground-1200-1024x683.jpg');
  7. background-size: cover;
  8. }
  9.  
  10. ## This doesn't work
  11.  
  12. #body-login {
  13. text-align: center;
  14. background: #1d2d44; /* Old browsers */
  15. background: url('../img/back.jpg'), -moz-linear-gradient(top, #35537a 0%, #1d2d44 100%); /* FF3.6+ */
  16. background: url('../img/back.jpg'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d44)); /* Chrome,Safari4+ */
  17. background: url('../img/back.jpg'), -webkit-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Chrome10+,Safari5.1+ */
  18. background: url('../img/back.jpg'), -o-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Opera11.10+ */
  19. background: url('../img/back.jpg'), -ms-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* IE10+ */
  20. background: url('../img/back.jpg'), linear-gradient(top, #35537a 0%,#1d2d44 100%); /* W3C */
  21. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement