CSS style doesn't apply
<p>So i was trying a template css style for a form (<a href="https://www.sanwebe.com/2014/08/css-html-forms-designs" rel="nofollow">Style 6)</a></p>

<p>But the first element of my CSS doesn't apply if i use it through external css file. If i insert it directly into html page, it does work as usual. I use chrome for testing but also have tried with ie.</p>

<p>My html is</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;
&lt;head&gt;
&lt;meta charset="UTF-8"&gt;&lt;/meta&gt;
&lt;title&gt;CVS upload page&lt;/title&gt;

&lt;link rel="stylesheet" type="text/css" href="static/css/app.css"/&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;div class="form-style-6"&gt;
&lt;h1&gt;Upload your cvs files&lt;/h1&gt;
&lt;form method="POST" enctype="multipart/form-data" action="/dcollect/upload"   name ="uploadForm"&gt;
        File one: 
        &lt;input type="file" name="fileLastWeek" 
        accept=".csv, application/vnd.openxmlformats- officedocument.spreadsheetml.sheet, application/vnd.ms-excel"/&gt;&lt;br /&gt; 
        File two: 
        &lt;input type="file" name="fileNew"
        accept=".csv, application/vnd.openxmlformats- officedocument.spreadsheetml.sheet, application/vnd.ms-excel"/&gt;&lt;br /&gt; 

                    &lt;input type="submit" value="Upload"/&gt;

&lt;/form&gt;


&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>And my CSS is as follows:</p>

<pre><code>&lt;style type="text/css"&gt;
.form-style-6 {
font: 95% Arial, Helvetica, sans-serif;
max-width: 400px;
margin: 10px auto;
padding: 16px;
background: #F7F7F7;
}
.form-style-6 h1{
background: #43D1AF;
padding: 20px 0;
font-size: 140%;
font-weight: 300;
text-align: center;
color: #fff;
margin: -16px -16px 16px -16px;
}
.form-style-6 input[type="file"],
.form-style-6 input[type="text"],
.form-style-6 input[type="date"],
.form-style-6 input[type="datetime"],
.form-style-6 input[type="email"],
.form-style-6 input[type="number"],
.form-style-6 input[type="search"],
.form-style-6 input[type="time"],
.form-style-6 input[type="url"],
.form-style-6 textarea,
.form-style-6 select 
{
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
background: #fff;
margin-bottom: 4%;
border: 1px solid #ccc;
padding: 3%;
color: #555;
font: 95% Arial, Helvetica, sans-serif;
}
.form-style-6 input[type="text"]:focus,
.form-style-6 input[type="date"]:focus,
.form-style-6 input[type="datetime"]:focus,
.form-style-6 input[type="email"]:focus,
.form-style-6 input[type="number"]:focus,
.form-style-6 input[type="search"]:focus,
.form-style-6 input[type="time"]:focus,
.form-style-6 input[type="url"]:focus,
.form-style-6 textarea:focus,
.form-style-6 select:focus
{
box-shadow: 0 0 5px #43D1AF;
padding: 3%;
border: 1px solid #43D1AF;
}

.form-style-6 input[type="submit"],
.form-style-6 input[type="button"]{
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
padding: 3%;
background: #43D1AF;
border-bottom: 2px solid #30C29E;
border-top-style: none;
border-right-style: none;
border-left-style: none;    
color: #fff;
}
.form-style-6 input[type="submit"]:hover,
.form-style-6 input[type="button"]:hover{
background: #2EBC99;
}

&lt;/style&gt;
</code></pre>

<p>The strange thing is that if i insert a dummy element at the beginning of the css it works like charm:</p>

<pre><code>.dummy {
}
</code></pre>

<p>Any idea why it happens?
Thanks.</p>