diff options
Diffstat (limited to 'files/ru/web/css/_doublecolon_placeholder/index.html')
-rw-r--r-- | files/ru/web/css/_doublecolon_placeholder/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/files/ru/web/css/_doublecolon_placeholder/index.html b/files/ru/web/css/_doublecolon_placeholder/index.html index ce536f7fe0..8fde2fd945 100644 --- a/files/ru/web/css/_doublecolon_placeholder/index.html +++ b/files/ru/web/css/_doublecolon_placeholder/index.html @@ -11,7 +11,7 @@ translation_of: 'Web/CSS/::placeholder' <p><a href="/ru/docs/Web/CSS">CSS</a> <a href="/ru/docs/Web/CSS/Pseudo-elements">псевдоэлемент</a> <strong><code>::placeholder</code></strong> представляет собой <a href="/ru/docs/Web/HTML/Forms_in_HTML#The_placeholder_attribute">текст placeholder</a> в {{HTMLElement("input")}} или {{HTMLElement("textarea")}} элементах.</p> -<pre class="brush: css no-line-numbers notranslate">::placeholder { +<pre class="brush: css no-line-numbers">::placeholder { color: blue; font-size: 1.5em; }</pre> @@ -32,11 +32,11 @@ translation_of: 'Web/CSS/::placeholder' <h4 id="HTML">HTML</h4> -<pre class="brush:html line-numbers language-html notranslate"><input placeholder="Введите что-нибудь!"></pre> +<pre class="brush:html line-numbers language-html"><input placeholder="Введите что-нибудь!"></pre> <h4 id="CSS">CSS</h4> -<pre class="brush: css notranslate">input::placeholder { +<pre class="brush: css">input::placeholder { color: red; font-size: 1.2em; font-style: italic; @@ -50,11 +50,11 @@ translation_of: 'Web/CSS/::placeholder' <h4 id="HTML_2">HTML</h4> -<pre class="brush:html line-numbers language-html notranslate"><input placeholder="Введите что-нибудь..."></pre> +<pre class="brush:html line-numbers language-html"><input placeholder="Введите что-нибудь..."></pre> <h4 id="CSS_2">CSS</h4> -<pre class="brush: css notranslate">input::placeholder { +<pre class="brush: css">input::placeholder { color: green; } </pre> @@ -89,7 +89,7 @@ translation_of: 'Web/CSS/::placeholder' <p>В таком случае содержимое подсказки будет доступно даже в том случае, если что-то введено в форму. Большинство скринридеров используют <code>aria-describedby</code> для чтения подсказок после того, как будет прочитан текст метки формы. Пользователь может отключить эту функцию, если дополнительная информация окажется ему ненужной.</p> -<pre class="brush:html line-numbers language-html notranslate"><label for="user-email">Ваш email адрес</label> +<pre class="brush:html line-numbers language-html"><label for="user-email">Ваш email адрес</label> <span id="user-email-hint" class="input-hint">Пример: jane@sample.com</span> <input id="user-email" aria-describedby="user-email-hint" name="email" type="email"> </pre> |