Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
responsive-menu-without-js
建立於
6 年前
差異永不過期
清除
匯出
分享
解釋
2 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
104 行
全部複製
8 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
109 行
全部複製
/*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 {
複製
已複製
複製
已複製
width: 20%;
height: inherit;
height: inherit;
color: #222;
color: #222;
複製
已複製
複製
已複製
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*/
}
}
複製
已複製
複製
已複製
.menu ul
a
{
.menu ul
li
{
text-align: left;
text-align: left;
width: 100%;
width: 100%;
height: 50px;
height: 50px;
複製
已複製
複製
已複製
}
.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;
}
}
}
}
已保存差異
原始文本
開啟檔案
/*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; } }
更改後文本
開啟檔案
/*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; } }
尋找差異