Skip to content

Commit

Permalink
Updated README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
UbaidRussell committed Oct 3, 2023
1 parent 2e88381 commit 41df487
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ Users should be able to:

### What I learned

This code snippet shows how I used the contain property to make the image not overflow the container. This is a very useful property and I will be using it in the future when it comes to keeping elements contained inside their containers.

```css
.proud-of-this-css {
color: papayawhip;
}
body{
contain:strict;
}
```

### Continued development
Expand Down

0 comments on commit 41df487

Please sign in to comment.