DEV Community

tinayanuk
tinayanuk

Posted on

Daily Reflection CSS 1

Today, I officially began my daily reflection.
每天都要记下自己的思考。

About the Netflix Clone project, I found this difference:
/* codes */
.container {
max-width: 70%;
margin: auto;
overflow: hidden;
padding: 0 2rem;
}

About overflow: hidden, if the things in the container are bigger than it, they will not be all shown, some of them will be cut off, and the sizes of the photos will not change.

So I changed it to overflow: initial, now everything is in the container, and the photos' sizes are adjusted.

Top comments (0)