Last active
August 29, 2015 14:01
-
-
Save candidosales/9456583cc2ab0fc2b6e5 to your computer and use it in GitHub Desktop.
Exemplo
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
.input{ | |
width:100px; | |
padding:5px; | |
margin-left:10px; | |
} | |
/* | |
* Como você esta em outro contexto/página de sua aplicação é interessante que essa modificação ocorra somente naquele lugar, assim | |
* mantém os atributos padrão para todos os outros inputs; | |
*/ | |
.contexto .input{ | |
margin-left:0; | |
} | |
/* | |
* Evitar usar class para tags html padrão, melhor usar assim... | |
* | |
*/ | |
input{ | |
width:100px; | |
padding:5px; | |
margin-left:10px; | |
} | |
.contexto input{ | |
margin-left:0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment