So I'm working with a login form trying to get the two input fields to expand with a CSS3 transition. I'm able to get it to expand just fine using a :focus selector, but I can't get it to transition. I can get the color to transition, but not the size. This is the code where I'm at right now:
There is no inline CSS.
                .loginForm input[type=text],
                .loginForm input[type=password] {
                    line-height: 100%;
                    margin: 10px 0;
                    padding: 6px 15px;
                    font-size: 12px;
                    font-weight: bold;
                    border-radius: 26px;
                    transition: background-color 0.3s;
                    transition: width 1s;
                }
                    .loginForm input[type=text]:focus,
                    .loginForm input[type=password]:focus {
                        background-color: #FAEBD7;
                        width: 100%;
                    }
I have also tried this:
transition: all 1s ease-in-out;
and this:
transition: width 1s ease-in-out;
 
     
    