Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the difference bettwen : background-size:contain; background-size:cover;?

user-image
Question added by medhatmahmoud mahmoud , Web Designer , Connect Computer Service Co
Date Posted: 2017/03/04
ahmer ansari
by ahmer ansari , Head of Projects and Creative Services , Manhattan Communications

Cover always covers the entire container, even if it has to stretch the image or cut a little bit off one of the edges. contain always show the whole image, even if that leaves a little space to the sides or bottom

mohamed ahmed mahmoud
by mohamed ahmed mahmoud , مصمم مواقع انترنت web designer , conect

no diffrence between background-size: contain and cover

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.