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
- nextjs .env
- fetch
- git lab
- API 토큰
- SCSS
- input type=file
- dart 변수
- ngrok설치
- github
- getModifierState
- next.js css
- nextjs 설치
- react typescript
- ngrok실행
- react env
- rewrites
- nextjs
- styled components
- icon
- bootstrap
- API token
- typescript react
- 컨디셔널 렌더링
- CSS
- github io
- There isn’t anything to compare
- createGlobalStyle
- react
- Git
- npm styled-reset
Archives
- Today
- Total
꾸준히 성장하는 개발자
가운데 정렬 본문
1. width : 값 -> 꼭 필요!!
margin : auto
2. width : 값 쓰기
position 주기
left : 50%
margin-left : -2/width값
3. img 요소가
display : block ; + margin : 0 ; 인 경우
width 속성이 없어도 가운데 정렬이 가능하다
'오답노트 & 헷갈리는 것' 카테고리의 다른 글
CLI 명령어 정리 (0) | 2022.04.15 |
---|---|
가변형 높이를 가지는 방법 (0) | 2022.01.07 |
float, position : absolute 위로 뜨는 개념 (0) | 2022.01.07 |
margin-top (0) | 2022.01.06 |
자식요소가 float되면 부모요소의 크기가 '0' 이 될때 (0) | 2022.01.06 |