2017-09-16 41 views
2

這是鏈接https://dcrazed.com/html/signup-pack/我從哪裏獲取動畫標籤底線的代碼。 工作正常,但不是在多個選擇工作。在聯繫人表單中使用select2但css技巧不起作用

<pre> 
 
<span class="input input--hoshi"> 
 
\t \t \t   <!-- <textarea style="resize:none" placeholder="" rows="5" class="input__field input__field--hoshi form-control" id="description"></textarea> --> 
 
\t \t \t   <select id="services_select" class="input__field input__field--hoshi" multiple="multiple" style="width:100%" id="service"> 
 
\t \t \t \t \t \t \t <option value="AL">Website Development</option> 
 
\t \t \t \t \t \t \t <option value="AL">App Development</option> 
 
\t \t \t \t \t \t \t <option value="AL">Domain Registration</option> 
 
\t \t \t \t \t \t \t <option value="AL">Hosting</option> 
 
\t \t \t \t \t \t \t <option value="AL">Plugin</option> 
 
\t \t \t \t \t \t \t <option value="AL">Logo Design</option> 
 
\t \t \t \t \t \t \t <option value="AL">Digital Marketing</option> 
 
\t \t \t \t \t \t </select> 
 
\t \t \t   <label class="input__label input__label--hoshi input__label--hoshi-color-3" for="desc"> 
 
\t \t \t    <span class="input__label-content input__label-content--hoshi">services you want</span> 
 
\t \t \t   </label> 
 
\t \t \t   </span> 
 
</pre>

回答

0

試穿網上平臺這個

<span class="input input--hoshi"> 
      <select class="input__field input__field--hoshi" type="text" id="email"> 
    <option selected=""></option> 
    <option>V2</option> 
    <option>V3</option> 
</select> 
<label class="input__label input__label--hoshi input__label--hoshi-color-3" for="email"> 
    <span class="input__label-content input__label-content--hoshi">My select</span> 
</label> 

</span> 
+0

不工作...你共享上運行預覽? –

+0

試試這個:[jsfiddle](https://jsfiddle.net/64qckvo4/) –