Código HTML

<div class="Login">
  <div class="form-container">
    <h1 class="title">My account</h1>

    <form action="/" class="form">
      <label for="name" class="label">Name</label>
      <p class="value">Charles Castillo</p>

      <label for="email" class="label">Email address</label>
      <p class="value">[email protected]</p>

      <label for="password" class="label">Password</label>
      <p class="value">********</p>

      <input
        type="submit"
        value="Edit"
        class="secondary-button login-button"
      />
    </form>
  </div>
</div>

Código CSS

:root {
    --white: #fff;
    --black: #000;
    --very-light-pink: #c7c7c7;
    --text-input-field: #f7f7f7;
    --hospital-green: #acd9b2;
    --sm: 14px;
    --md: 16px;
    --lg: 18px;
  }

  body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
  }
  .Login {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
  }
  .form-container {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 300px;
  }
  .logo {
    width: 150px;
    margin-bottom: 48px;
    justify-self: center;
    display: none;
  }
  .title {
    font-size: var(--lg);
    font-weight: 700;
    margin-bottom: 36px;
    text-align: start;
  }
  .subtitle {
    color: var(--very-light-pink);
    font-size: var(--md);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 32px;
    text-align: center;
  }
  .label {
    font-style: var(--sm);
    font-weight: bold;
    margin-bottom: 4px;
  }
  .value {
    color: var(--very-light-pink);
    font-size: var(--md);
    margin: 8px 0 32px 0;
  }
  .form {
    display: flex;
    flex-direction: column;
  }
  .input {
    background-color: var(--text-input-field);
    border: none;
    border-radius: 8px;
    height: 30px;
    font-size: var(--md);
    padding: 6px;
    margin-bottom: 12px;
  }
  .input-name,
  .input-email,
  .input-password {
    margin-bottom: 22px;
  }
  .secondary-button {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--hospital-green);
    color: var(--hospital-green);
    width: 100%;
    cursor: pointer;
    font-size: var(--md);
    font-weight: bold;
    height: 50px;
  }
  .login-button {
    margin-top: 12px;
    margin-bottom: 30px;
  }
  @media (max-width: 640px) {
    .logo {
      display: block;
    }
    .secondary-button {
      position: absolute;
      width: 300px;
      bottom: 10px;
    }
  }

Archivos de la Clase

https://github.com/FROSTYLAN/Notes-JavascriptSchool/commit/491b7539b20d44ffba179309294824d3d7c6441c


Lecturas Recomendadas

curso-frontend-developer-practico/clase5.html at main · platzi/curso-frontend-developer-practico


Crear y editar mi cuenta

Página de inicio: HTML