Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Editor live
Recolher inalteradas
Sem quebra de linha
Layout
Dividido
Unificado
Nível de detalhe
Inteligente
Palavra
Caractere
Realce de sintaxe
Escolher sintaxe
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
responsive-menu-without-js
Criado
há 6 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
2 remoções
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
104 linhas
Copiar tudo
8 adições
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
109 linhas
Copiar tudo
/*Configurações Globais*/
/*Configurações Globais*/
html, body {
html, body {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
margin: 0;
margin: 0;
padding: 0;
padding: 0;
}
}
a {
a {
text-decoration: none;
text-decoration: none;
}
}
li {
li {
list-style: none;
list-style: none;
}
}
/*Início das configurações da header*/
/*Início das configurações da header*/
header {
header {
width: 100%;
width: 100%;
height: 50px;
height: 50px;
line-height: 50px;
line-height: 50px;
text-align: center;
text-align: center;
font-family: sans-serif;
font-family: sans-serif;
background-color: #f1c40f;
background-color: #f1c40f;
}
}
.brand {
.brand {
width: auto;
width: auto;
height: 100%;
height: 100%;
float: left;
float: left;
margin: 0 0 0 5%;
margin: 0 0 0 5%;
}
}
/*Início das configurações da Navigation*/
/*Início das configurações da Navigation*/
.menu {
.menu {
width: 60%;
width: 60%;
height: 100%;
height: 100%;
float: right;
float: right;
}
}
.menu ul {
.menu ul {
width: 100%;
width: 100%;
height: inherit;
height: inherit;
margin: 0;
margin: 0;
padding: 0;
padding: 0;
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display: -webkit-flex; /* NEW - Chrome */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
}
.menu ul a {
.menu ul a {
Copiar
Copiado
Copiar
Copiado
width: 20%;
height: inherit;
height: inherit;
color: #222;
color: #222;
Copiar
Copiado
Copiar
Copiado
display: inline-block;
display: block;
}
.menu ul li {
width: 20%;
display: inline-block;
}
}
.menu ul a:hover {
.menu ul a:hover {
background-color: #222;
background-color: #222;
color: #fff;
color: #fff;
}
}
#menuToggle {
#menuToggle {
display: none;
display: none;
}
}
.menu-icon {
.menu-icon {
display: none;
display: none;
}
}
/*Início das configurações da Navigation com dispositivos < 768px*/
/*Início das configurações da Navigation com dispositivos < 768px*/
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
.menu {
.menu {
width: 100%;
width: 100%;
height: auto;
height: auto;
}
}
.menu ul {
.menu ul {
display: block;
display: block;
max-height: 0;
max-height: 0;
overflow: hidden;
overflow: hidden;
-webkit-transition: max-height 0.3s;
-webkit-transition: max-height 0.3s;
-moz-transition: max-height 0.3s;
-moz-transition: max-height 0.3s;
-ms-transition: max-height 0.3s;
-ms-transition: max-height 0.3s;
-o-transition: max-height 0.3s;
-o-transition: max-height 0.3s;
transition: max-height 0.3s;
transition: max-height 0.3s;
/*Para fazer com que o menu saia da esquerda, você deve trocar max-height por max-width*/
/*Para fazer com que o menu saia da esquerda, você deve trocar max-height por max-width*/
/*Para fazer com que o menu saia da direita, você deve trocar max-height por max-width e setar float: right*/
/*Para fazer com que o menu saia da direita, você deve trocar max-height por max-width e setar float: right*/
}
}
Copiar
Copiado
Copiar
Copiado
.menu ul
a
{
.menu ul
li
{
text-align: left;
text-align: left;
width: 100%;
width: 100%;
height: 50px;
height: 50px;
Copiar
Copiado
Copiar
Copiado
}
.menu ul a {
background-color: #f1c40f;
background-color: #f1c40f;
padding: 10px 0px 10px 5%;
padding: 10px 0px 10px 5%;
}
}
.menu-icon {
.menu-icon {
width: 100px;
width: 100px;
height: inherit;
height: inherit;
display: block;
display: block;
position: absolute;
position: absolute;
top: 0;
top: 0;
right: 0;
right: 0;
line-height: 60px;
line-height: 60px;
}
}
#menuToggle:checked ~ ul {
#menuToggle:checked ~ ul {
max-height: 350px;
max-height: 350px;
/*Para fazer com que o menu saia da esquerda ou direita, você deve trocar max-height por max-width*/
/*Para fazer com que o menu saia da esquerda ou direita, você deve trocar max-height por max-width*/
}
}
.menu-icon i {
.menu-icon i {
font-size: 1.7em;
font-size: 1.7em;
}
}
}
}
Diferenças salvas
Texto original
Abrir arquivo
/*Configurações Globais*/ html, body { width: 100%; height: 100%; margin: 0; padding: 0; } a { text-decoration: none; } li { list-style: none; } /*Início das configurações da header*/ header { width: 100%; height: 50px; line-height: 50px; text-align: center; font-family: sans-serif; background-color: #f1c40f; } .brand { width: auto; height: 100%; float: left; margin: 0 0 0 5%; } /*Início das configurações da Navigation*/ .menu { width: 60%; height: 100%; float: right; } .menu ul { width: 100%; height: inherit; margin: 0; padding: 0; display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ display: -webkit-flex; /* NEW - Chrome */ display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */ } .menu ul a { width: 20%; height: inherit; color: #222; display: inline-block; } .menu ul a:hover { background-color: #222; color: #fff; } #menuToggle { display: none; } .menu-icon { display: none; } /*Início das configurações da Navigation com dispositivos < 768px*/ @media screen and (max-width: 768px) { .menu { width: 100%; height: auto; } .menu ul { display: block; max-height: 0; overflow: hidden; -webkit-transition: max-height 0.3s; -moz-transition: max-height 0.3s; -ms-transition: max-height 0.3s; -o-transition: max-height 0.3s; transition: max-height 0.3s; /*Para fazer com que o menu saia da esquerda, você deve trocar max-height por max-width*/ /*Para fazer com que o menu saia da direita, você deve trocar max-height por max-width e setar float: right*/ } .menu ul a { text-align: left; width: 100%; height: 50px; background-color: #f1c40f; padding: 10px 0px 10px 5%; } .menu-icon { width: 100px; height: inherit; display: block; position: absolute; top: 0; right: 0; line-height: 60px; } #menuToggle:checked ~ ul { max-height: 350px; /*Para fazer com que o menu saia da esquerda ou direita, você deve trocar max-height por max-width*/ } .menu-icon i { font-size: 1.7em; } }
Texto alterado
Abrir arquivo
/*Configurações Globais*/ html, body { width: 100%; height: 100%; margin: 0; padding: 0; } a { text-decoration: none; } li { list-style: none; } /*Início das configurações da header*/ header { width: 100%; height: 50px; line-height: 50px; text-align: center; font-family: sans-serif; background-color: #f1c40f; } .brand { width: auto; height: 100%; float: left; margin: 0 0 0 5%; } /*Início das configurações da Navigation*/ .menu { width: 60%; height: 100%; float: right; } .menu ul { width: 100%; height: inherit; margin: 0; padding: 0; display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ display: -webkit-flex; /* NEW - Chrome */ display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */ } .menu ul a { height: inherit; color: #222; display: block; } .menu ul li { width: 20%; display: inline-block; } .menu ul a:hover { background-color: #222; color: #fff; } #menuToggle { display: none; } .menu-icon { display: none; } /*Início das configurações da Navigation com dispositivos < 768px*/ @media screen and (max-width: 768px) { .menu { width: 100%; height: auto; } .menu ul { display: block; max-height: 0; overflow: hidden; -webkit-transition: max-height 0.3s; -moz-transition: max-height 0.3s; -ms-transition: max-height 0.3s; -o-transition: max-height 0.3s; transition: max-height 0.3s; /*Para fazer com que o menu saia da esquerda, você deve trocar max-height por max-width*/ /*Para fazer com que o menu saia da direita, você deve trocar max-height por max-width e setar float: right*/ } .menu ul li { text-align: left; width: 100%; height: 50px; } .menu ul a { background-color: #f1c40f; padding: 10px 0px 10px 5%; } .menu-icon { width: 100px; height: inherit; display: block; position: absolute; top: 0; right: 0; line-height: 60px; } #menuToggle:checked ~ ul { max-height: 350px; /*Para fazer com que o menu saia da esquerda ou direita, você deve trocar max-height por max-width*/ } .menu-icon i { font-size: 1.7em; } }
Encontrar Diferença