Skip to content

Commit 4c72ae2

Browse files
Исправляет использование цветов (htmlacademy#67)
1 parent 9952b01 commit 4c72ae2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

html-css.html

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ <h3 id="css-structure">Структура объявления</h3>
668668
.block{margin-bottom: 0;
669669
margin-top: 0;
670670
font-size: 14px;line-height: 20;
671-
color :red}
671+
color :#ff0000}
672672
.element {
673673
background-color: #000000;
674674
}
@@ -786,12 +786,12 @@ <h3 id="css-quotes">Кавычки</h3>
786786
<figure>
787787
<pre><code class="language-css">/* Хорошо */
788788
.field[type="text"] {
789-
background-color: url("http://github.com/images/cat.jpg");
789+
background-image: url("http://github.com/images/cat.jpg");
790790
}
791791

792792
/* Плохо */
793793
.field[type=text] {
794-
background-color: url(http://github.com/images/cat.jpg);
794+
background-image: url(http://github.com/images/cat.jpg);
795795
}
796796

797797
</code></pre>
@@ -815,19 +815,13 @@ <h3 id="css-leading-zero">Ведущий ноль и пробелы после
815815
background-color: rgba(0, 0, 0, 0.5);
816816
}
817817

818-
.element {
819-
background-color: rgb(0, 0, 0);
820-
color: rgba(0, 0, 0, 0.5);
821-
}
822-
823818
/* Плохо */
824819
.block {
825820
opacity: .5;
826821
background-color: rgba(0, 0, 0, .5);
827822
}
828823

829824
.element {
830-
background-color: rgb(0,0,0);
831825
color: rgba(0 ,0 ,0 ,0.5);
832826
}
833827

0 commit comments

Comments
 (0)