Skip to content

Instantly share code, notes, and snippets.

@YuCJ
Created January 31, 2018 06:30
Show Gist options
  • Save YuCJ/15851f0142eb861095288b56423d6fd5 to your computer and use it in GitHub Desktop.
Save YuCJ/15851f0142eb861095288b56423d6fd5 to your computer and use it in GitHub Desktop.
Device Width Height fg object-fit bg object-fit
Desktop 1440 810 cover cover
Tablet 1024 1024 cover cover
Mobile 768 1024 contain/cover cover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment