버튼에다가 display: inline-block 주지 않고 버튼들의 부모인 div에 적용했더니 나란히 되었습니다.
'JS와 친구들' 카테고리의 다른 글
[react] Cannot read properties of null (reading 'useRef') TypeError: Cannot read properties of null (reading 'useRef') at Object.useRef (0) | 2023.05.11 |
---|---|
[css] inline, inline-block, block (0) | 2022.12.21 |
[css] position absolute와 relative, fixed (0) | 2022.12.21 |
[개발자도구] 개발자도구와 친해지자 (0) | 2022.12.13 |
[css] image Sprites 기법 (0) | 2022.11.22 |