当我单击<form>标记上的文本区域时,标记顶部出现一个白色正方形

时间:2018-07-01 13:27:24

标签: html5 css3 bootstrap-4

您可以检查链接,以便检查我要说的内容。

,这是我编写的代码。该表格。我没有设置样式。

https://kevkevkevin.github.io/contactform_/

<div id="form_">
        <h2>Contact Us</h2>
          <form action="#">
             <div class="form-group">
              <label for="name">Name:</label>
              <input type="name" class="form-control" id="name" placeholder="Your Name" name="name">
            </div>
            <div class="form-group">
              <label for="email">Email:</label>
              <input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
            </div>
            <div class="form-group">
                <label for="subj"><span>Subject</span>
                    <select name="sbj" class="form-control" id="slct_bg">
                        <option class="special" value="Appointment">Appointment</option>
                        <option class="special" value="Interview">Interview</option>
                        <option class="special" value="Regarding a post">Regarding a post</option>
                    </select>
                </label>
            </div>
            <div class="form-group">
                <label for="email">Message:</label>
                <textarea class="form-control" rows="5" id="message" placeholder="Leave your message here*" required></textarea>
            </div>
            <a href=""><div class="button_">
                Submit
            </div> </a>
          </form>
    </div>

0 个答案:

没有答案