hidden input breaks the css style -


hello i've got style

.portfolio-filters input[type=checkbox]:checked{background:#cb2127} 

and code

<ul class="portfolio-filters list-unstyled">      <li>          <div class="form-group">              <input id="custom-software" type="checkbox" name="" value="" checked="">               <label for="custom-software">custom software</label>          </div>     </li> 

the problem inside div form-group if add hidden input fields, breaks css.

do have idea how can fix problem?

how hide input? should use display:none if don't want maintain position


Comments

Popular posts from this blog

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -

Copy range with conditional formatting -