Attempting to apply a top margin in percentage (%) to the form element but encountering issues with the property not being accepted. The goal is to create a margin from the top for the form.
Below is the code snippet: http://plnkr.co/edit/byQLFlLh4a2qaIEZgfJH?p=preview
The CSS code is as follows:
.login-form {
margin-top: 40%;
width: 50%;
margin: auto; }
Questioning why the margin-top: 40%; property is not taking effect.