form
  h2 Bienvenue

  label Identifiant
  input type="text"/
  
  label Mot de passe
  input type="password"/
  
  button Continuer
View Compiled
body 
  background: #FEF9EF

h2 
  margin-top: 0

form 
  display: flex
  flex-flow: column
  gap: 0.25em
  margin: 2em auto 
  padding: 2em
  max-width: 21em
  background-color: #fff
  border-radius: 0.5em
  box-shadow: 0 5px 30px rgba(0,0,0,0.05)
  &:focus-within
    outline: 1px solid #0142bb
  input, button 
    transition: all 0.1s ease
    &:focus 
      outline: 2px solid #0142bb
  input 
    font-size: 1em
    line-height: 2
    margin-bottom: 1em
    padding: 0 0.5em
    border: 1px solid #ddd
    border-radius: 0.25em
    box-shadow: inset 0 1px 1px rgba(#000,0.1)
  button
    background-color: #0142bb
    color: #fff
    border: 0
    align-self: flex-end
    padding: 0.5em 0.75em
    border-radius: 0.25em
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.