문제와 해결/css
부모에 상관없이 width 100% 주기
리양
2021. 11. 16. 09:59
width 100%적용할 자식 요소에게 아래의 속성 추가
width: 100vw;
margin-left: calc(-50vw + 50%);
https://skout90.github.io/2017/09/01/CSS/full-width-ignore-parent/