Y
Y
YarNer2020-04-29 15:29:33
css
YarNer, 2020-04-29 15:29:33

How to make such a form?

How to make a similar form? I was just making a website and ran into a problem that I could not make such a form work.5ea9731663b0f651089481.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2020-04-29
@rpsv

label {
  font-weight: 100;
  width: 100%;
  display: block;
}
input, textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid black;
}

I
Ivan, 2020-04-29
@youmixx

There are a lot of such forms on the Internet, try to google "html css php ready-made feedback forms".
For example, I found the first site I came across, there is this code

<form method="post" action="mail.php">
 
   <div class="left">
      <label for="name">Имя:</label>
      <input maxlength="30" type="text" name="name" />
 
      <label for="phone">Телефон:</label>
      <input maxlength="30" type="text" name="phone" />
 
      <label for="mail">E-mail:</label>
      <input maxlength="30" type="text" name="mail" />
   </div>
 
   <div class="right">
      <label for="message">Сообщение:</label>
      <textarea rows="7" cols="50" name="message"></textarea>
 
      <input type="submit" value="Отправить" />
   </div>
 
</form>

From this site - https://vaden-pro.ru/blog/php/forma-obratnoy-svyazi-php
If you need any help, explain, etc., write in the comments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question