diff options
Diffstat (limited to 'files/ru/web/css/_colon_host()/index.html')
-rw-r--r-- | files/ru/web/css/_colon_host()/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/css/_colon_host()/index.html b/files/ru/web/css/_colon_host()/index.html index 9637e4a49f..117abc8e8f 100644 --- a/files/ru/web/css/_colon_host()/index.html +++ b/files/ru/web/css/_colon_host()/index.html @@ -36,7 +36,7 @@ translation_of: 'Web/CSS/:host()' <pre class="brush: html; notranslate"><h1>Host selectors <a href="#"><context-span>example</context-span></a></h1></pre> -<p>Внутри конструктора элемента мы создаём элементы <code>style</code> и <code>span</code>, заполняем <code>span</code> контентом пользовательского элемента и заполняем элемент <code>style</code> CSS правилами:</p> +<p>Внутри конструктора элемента мы создаём элементы <code>style</code> и <code>span</code>, заполняем <code>span</code> контентом пользовательского элемента и заполняем элемент <code>style</code> CSS-правилами:</p> <pre class="brush: js; notranslate">let style = document.createElement('style'); let span = document.createElement('span'); |