File tree 1 file changed +3
-9
lines changed 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ <h3 id="css-structure">Структура объявления</h3>
668
668
.block{margin-bottom: 0;
669
669
margin-top: 0;
670
670
font-size: 14px;line-height: 20;
671
- color :red }
671
+ color :#ff0000 }
672
672
.element {
673
673
background-color: #000000;
674
674
}
@@ -786,12 +786,12 @@ <h3 id="css-quotes">Кавычки</h3>
786
786
< figure >
787
787
< pre > < code class ="language-css "> /* Хорошо */
788
788
.field[type="text"] {
789
- background-color : url("http://github.com/images/cat.jpg");
789
+ background-image : url("http://github.com/images/cat.jpg");
790
790
}
791
791
792
792
/* Плохо */
793
793
.field[type=text] {
794
- background-color : url(http://github.com/images/cat.jpg);
794
+ background-image : url(http://github.com/images/cat.jpg);
795
795
}
796
796
797
797
</ code > </ pre >
@@ -815,19 +815,13 @@ <h3 id="css-leading-zero">Ведущий ноль и пробелы после
815
815
background-color: rgba(0, 0, 0, 0.5);
816
816
}
817
817
818
- .element {
819
- background-color: rgb(0, 0, 0);
820
- color: rgba(0, 0, 0, 0.5);
821
- }
822
-
823
818
/* Плохо */
824
819
.block {
825
820
opacity: .5;
826
821
background-color: rgba(0, 0, 0, .5);
827
822
}
828
823
829
824
.element {
830
- background-color: rgb(0,0,0);
831
825
color: rgba(0 ,0 ,0 ,0.5);
832
826
}
833
827
You can’t perform that action at this time.
0 commit comments