icone do "nome" ficou ok posicionado corretamente , mas a parte de" email" não quer ficar posicionado como o nome?
/*Formulario*/
legend{
margin-top: 1em;
font-weight:bold;
}
label [for]{
display:block;
}
input[type="text"],
input[type="email"],
textarea{
font-family: inherit;
font-size:100%;
padding:.25em .5em;
width:100%;
box-sizing:border-box;
border:.063em solid #ccc;
}
fieldset > fieldset{
display:inline;
}
label[for="outro"]{
display: inline;
}
input:focus{
background-color: #ffd;
}
input:focus:invalid{
box-shadow: 0 0 3px red;
}
button{
border:0;
padding:.5em 1em;
font-family:'open sans condensed', sans-serif;
margin-left:auto;
margin-top:1em;
display: block;
background-color: #3C1D3D;
color:#fff;
}
button:hover,
button:focus{
background-color:#8C1D3D;
}
input[value="outro"] ~ input{
display: none;
}
input[value="outro"]:checked ~ input{
display: inline;
background-color: red;
}
/*fim do formu*/
/*icone no email e nome*/
.nome[for="nome"],
.email[for="email"]{
position:relative;
}
.nome[for="nome"]::after,
.email[for="email"]::after{
content:"";
background-image: url(../img/usuario.png);
background-color:red;
position:absolute;
background-size:50% 50%;
background-position: center;
top:100%;
left:0;
height:2em;
width:2em;
background-repeat: no-repeat;
}
#nome,
#email{
width: calc(100% - 2em);
position:relative;
left:2em;
}
/*fim do email e nome*/