codestates / codestates/BanThing

[Error Handling] 가운데 정렬이 되지 않는 오류

Open
#223 0 comments 0 reactions 1 assignee Claimed by @tmdqls2257 View on GitHub
client error solved
Dominant language
TypeScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### 어떤 에러인가요?
![image](https://user-images.githubusercontent.com/54207332/156354312-61e83869-4586-40fa-9d63-0ef1afd0b7e4.png)
```
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
```
부모 요소에 relative를 주고 자식 요소에 absolute를 주어서 핸들링을 해주었는데
가운데 정렬이 되지 않았다.

### 에러 핸들링 방법
- 핸들링 방법에 대해서 간단하게 기록해보세요.
```
/* position: absolute;
margin: 0 auto;
left: 0;
right: 0;
bottom: 0; */
```

### 에러 핸들링을 위해 참고한 레퍼런스 링크
[링크](https://hyeyeong1011.github.io/2020-02-06-post5/)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.