Skip to content

Commit

Permalink
Change object-fit: cover to object-fit: fill
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkryst committed Dec 4, 2023
1 parent 58807a4 commit ba1e530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
```

Expand Down
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ html {
& > video {
width: 50%;

object-fit: cover;
object-fit: fill;
}
}
}
Expand Down

0 comments on commit ba1e530

Please sign in to comment.