| [e3d4e0a] | 1 | <!DOCTYPE html>
|
|---|
| 2 | <html lang="mk">
|
|---|
| 3 | <head>
|
|---|
| 4 | <meta charset="UTF-8">
|
|---|
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|---|
| 6 | <title>Контактирајте Не</title>
|
|---|
| 7 | <link rel="stylesheet" href="../CSS/AboutAndPrivacy.css">
|
|---|
| 8 | <style>
|
|---|
| 9 | .inputfield {
|
|---|
| 10 | position: relative;
|
|---|
| 11 | margin-bottom: 20px;
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | .inputfield input,
|
|---|
| 15 | .inputfield textarea {
|
|---|
| 16 | width: calc(100% - 44px);
|
|---|
| 17 | padding: 10px 20px;
|
|---|
| 18 | border: 1px solid rgb(207, 207, 207);
|
|---|
| 19 | outline: none;
|
|---|
| 20 | font-size: 1.25em;
|
|---|
| 21 | border-radius: 6px;
|
|---|
| 22 | line-height: 35px;
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | .inputfield textarea {
|
|---|
| 26 | resize: none;
|
|---|
| 27 | height: 100px;
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | .inputfield span {
|
|---|
| 31 | position: absolute;
|
|---|
| 32 | top: 50%;
|
|---|
| 33 | transform: translateY(-50%);
|
|---|
| 34 | left: 20px;
|
|---|
| 35 | pointer-events: none;
|
|---|
| 36 | font-size: 1.25em;
|
|---|
| 37 | transition: 0.35s;
|
|---|
| 38 | color: rgb(170, 170, 170);
|
|---|
| 39 | }
|
|---|
| 40 |
|
|---|
| 41 | .inputfield input:valid ~ span,
|
|---|
| 42 | .inputfield input:focus ~ span,
|
|---|
| 43 | .inputfield textarea:valid ~ span,
|
|---|
| 44 | .inputfield textarea:focus ~ span{
|
|---|
| 45 | top: 0;
|
|---|
| 46 | color: rgb(76, 194, 95);
|
|---|
| 47 | transform: translateY(-10px);
|
|---|
| 48 | font-size: 1.19em;
|
|---|
| 49 | padding: 0 10px;
|
|---|
| 50 | background: white;
|
|---|
| 51 | }
|
|---|
| 52 |
|
|---|
| 53 | .inputfield input:focus,
|
|---|
| 54 | .inputfield textarea:focus {
|
|---|
| 55 | border-color: rgb(76, 194, 95);
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 | #send {
|
|---|
| 59 | background-color: rgb(46, 224, 46);
|
|---|
| 60 | border: none;
|
|---|
| 61 | border-radius: 6px;
|
|---|
| 62 | color: white;
|
|---|
| 63 | width: calc(100% - 40px);
|
|---|
| 64 | height: 50px;
|
|---|
| 65 | font-size: 1.25em;
|
|---|
| 66 | transition: 0.2s;
|
|---|
| 67 | margin-bottom: 20px;
|
|---|
| 68 | }
|
|---|
| 69 |
|
|---|
| 70 | #send:hover {
|
|---|
| 71 | cursor: pointer;
|
|---|
| 72 | background-color: rgb(46, 200, 46);
|
|---|
| 73 | }
|
|---|
| 74 |
|
|---|
| 75 | .container {
|
|---|
| 76 | width: 450px;
|
|---|
| 77 | }
|
|---|
| 78 | </style>
|
|---|
| 79 | </head>
|
|---|
| 80 | <body>
|
|---|
| 81 |
|
|---|
| 82 | <div class="container">
|
|---|
| 83 | <h1>Контактирајте Не</h1>
|
|---|
| 84 | <div class="inputfield">
|
|---|
| 85 | <input type="text" required>
|
|---|
| 86 | <span>Вашето Име</span>
|
|---|
| 87 | </div>
|
|---|
| 88 | <div class="inputfield">
|
|---|
| 89 | <input type="text" required>
|
|---|
| 90 | <span>Вашата Е-пошта</span>
|
|---|
| 91 | </div>
|
|---|
| 92 | <div class="inputfield">
|
|---|
| 93 | <textarea required></textarea>
|
|---|
| 94 | <span>Вашата Порака</span>
|
|---|
| 95 | </div>
|
|---|
| 96 | <button id="send">Испрати</button>
|
|---|
| 97 | </div>
|
|---|
| 98 |
|
|---|
| 99 | </body>
|
|---|
| 100 | </html>
|
|---|