nerder 0 Posted November 30, 2018 Share Posted November 30, 2018 So, I found an image I'd like to use which is 1920x1080, and have applied it to be absolute and to fill the browser page, however is it possible to make it if the view is lower than 1920x1080 to have the size remain the same, yet if the view is 1920x1080 or greater to have it scale? Link to comment Share on other sites More sharing options...
Archigos 7 Posted February 25, 2019 Share Posted February 25, 2019 Pending on which selector your using, you can tweak it with: background: url('IMAGE') center center no-repeat; background-size: cover; Example: #loginPage { position: absolute; color: #000000; left: 0; right: 0; margin: 0 auto; content: " "; background: url('//192.168.1.3/assets/img/emby/background.jpg') center center no-repeat; background-size: cover; } Sorry, this took so long, I just noticed your post... hope it's still helpful. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now