Created
October 23, 2015 21:13
-
-
Save rtivital/430c21e77da75d2554d0 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
/* | |
Использйте универсальный селектор | |
для быстрой отладки лэйаутов | |
*/ | |
body * { | |
/* | |
Можно использовать свойство background-color | |
c определенной прозрачностью | |
*/ | |
background-color: rgba(0,0,0, .05); | |
/* Или свойство border */ | |
border: 1px solid; | |
/* | |
Подобное решение поможет наглядно продемонстировать | |
все свойства margin, padding, width и height у всех элементов | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment