영웅은 공부 따원 안 한다네/HTML CSS

[HTML] 좌우 양쪽으로 벌어짐

귀펀치토끼 2022. 7. 11. 12:17

<div class="login_info">
  <div class="login_info_left">비밀번호</div>
  <div class="login_info_right">비밀번호를 잊으셨나요?</div>
</div>
  .login_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;

    .login_info_right {
      display: flex;
      gap: 5px;
      align-items: center;
      color: #8a8a8a;
      text-decoration: underline;
      cursor: pointer;
    }
  }