Last active
August 29, 2015 13:56
-
-
Save robhrt7/9058718 to your computer and use it in GitHub Desktop.
Комментарии в CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Комментарии в CSS | |
============================================================================================== | |
*/ | |
/* | |
Нужно комментировать все не однозначные свойства и значения. | |
*/ | |
.project-class { | |
z-index: 31; /* причина выставления определенного z-index */ | |
margin-left: -616px; /* причина использовая отрицательного отступа и возникновеня «магических чисел» */ | |
-webkit-backface-visibility: hidden; /* reason for hack */ | |
} | |
body .project-class { /* причина каскада */ | |
colore: red !important; /* причина !important */ | |
} | |
.redesign .project-class { /* зачистить после утверждения эксперимента «Номер5» */ | |
colore: red !important; | |
} | |
.layout_body { /* зачистить после утверждения эксперимента «Номер5» */ | |
margin-bottob: 100px; /* .layout_footer height + 10px */ | |
} | |
.layout_footer { | |
height: 90px; /* TODO: вынести в переменную */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment