Skip to content

Instantly share code, notes, and snippets.

@robhrt7
Last active August 29, 2015 13:56
Show Gist options
  • Save robhrt7/9058718 to your computer and use it in GitHub Desktop.
Save robhrt7/9058718 to your computer and use it in GitHub Desktop.
Комментарии в CSS
/*
Комментарии в 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