10
620hun
8y

I accidentally fixed a CSS bug that has been bugging me for weeks. I wish it was always like this.

Comments
  • 0
    @Letmecode I had a modal like this

    wrapper{
    Backdrop, content
    }

    I wanted the backdrop to fill the screen, even after scroll. Nothing worked. Now I accidentally turned of the height which was 100% and it worked instantly. Turned out specifying the height was doing the opposite that I wanted. Changing it to min-height fixed it.
Add Comment