Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- There isn’t anything to compare
- react typescript
- API 토큰
- github io
- Git
- github
- styled components
- CSS
- nextjs 설치
- npm styled-reset
- ngrok실행
- next.js css
- rewrites
- typescript react
- ngrok설치
- 컨디셔널 렌더링
- createGlobalStyle
- react
- SCSS
- getModifierState
- bootstrap
- API token
- fetch
- nextjs .env
- nextjs
- dart 변수
- git lab
- input type=file
- icon
- react env
Archives
- Today
- Total
꾸준히 성장하는 개발자
margin-top 본문
margin-top : 버그 개념이 있다.
감싸고 있는 상위 요소가 함께 내려감
대처방법!!
1. float 값주기 -> 해당 요소 or 상위 요소
2. position : absolute or fixed
-> 해당 요소 or 상위 요소
3. 상위 요소에 border-top 값 주기
ex) border-top : 1px solid #fff -> 색상은 배경 색상과 똑같이 작성한다.
'오답노트 & 헷갈리는 것' 카테고리의 다른 글
CLI 명령어 정리 (0) | 2022.04.15 |
---|---|
가변형 높이를 가지는 방법 (0) | 2022.01.07 |
float, position : absolute 위로 뜨는 개념 (0) | 2022.01.07 |
가운데 정렬 (0) | 2022.01.06 |
자식요소가 float되면 부모요소의 크기가 '0' 이 될때 (0) | 2022.01.06 |