diff --git a/index.html b/index.html index 6f14ae14a..00e9cdfe6 100644 --- a/index.html +++ b/index.html @@ -48,14 +48,12 @@ + placeholder="Введите ваше имя" /> + rows="4">
@@ -64,8 +62,132 @@ + diff --git a/styles.css b/styles.css index edc120f8c..78a0c2be9 100644 --- a/styles.css +++ b/styles.css @@ -134,4 +134,10 @@ body { .add-form-button:hover { opacity: 0.9; - } \ No newline at end of file + } + + /* красный цвет placeholder при ошибке */ + input.error::placeholder, + textarea.error::placeholder { + color: #ff4d4f; +}