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