I'm trying to make my registration form responsive for mobile devices but I got a little problem with the resizing of my input fields,
I made a jsfiddle to show the situation: https://jsfiddle.net/ntvrhLpe/
I would like that if the width is smaller than 540px the input fields automatically resize to full width with a margin of 10px at both sides.
I already tried some things but nothing works:
input[type=text], input[type=password], input[type=email]{
margin-left:10px;
margin-right:10px;
width:100%;
}
Can someone help me?