diff --git a/README.md b/README.md index 4412920..65e512a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ _Do not specify anything for the element's height. Not even `height: auto`._ video { width: 100%; /* Set this to your desired value. */ - object-fit: cover; + object-fit: fill; } ``` diff --git a/css/styles.css b/css/styles.css index 69957f1..8d821ce 100644 --- a/css/styles.css +++ b/css/styles.css @@ -12,7 +12,7 @@ html { & > video { width: 50%; - object-fit: cover; + object-fit: fill; } } }