참조: 드림코딩 CSS Grid 완전 정리 끝판왕 😎 예시 코드는 react, styled-componets, typescript를 사용해 작성했습니다. 1. Grid란? flex vs grid 아이템을 자유롭게 배치할 수 있는 대표적인 css layout에는 f
출처: styled components 공식 문서 오늘은 프론트엔드 개발자 필수 상식 styled-components 사용법을 알아보자. 💅 Styled Components? 먼저 styled components를 공식문서에서 어떻게 설명하고 있는지 살펴보자.
오늘은 rem과 em 그리고 px는 각각 무슨 차이가 있는지 또 언제 사용하는 것이 좋은지 알아보도록 하자! 1. 절대적 유닛(Absolute unit) px 2. 상대적 유닛(Relative unit) %, v*, em, rem 부모요소의 사이즈에 따라 사이즈가