css之浏览器初始化方案_html/css_WEB-ITnose
HTML, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote,
pre, form, fieldset, table, th, td {
border:none;
font-family:"微软雅黑","黑体","宋体";
font-size:14px;
margin:0px;
padding:0px;
}
html,body{
height: 100%;
width: 100%;
}
address, caption, cite, code, dfn, em, strong, th, var {
font-style: normal;
font-weight: normal;
}
a{
text-decoration:none;
}
a:link{
color:#fff;
}
a:visited{
color:#fff;
}
a:hover{
color:#fff;
}
a:active{
color:#fff;
}
input::-ms-clear{
display:none;
}
input::-ms-reveal{
display:none;
}
input{
-webkit-appearance: none;
margin: 0;
outline: none;
padding: 0;
}
input::-webkit-input-placeholder{
color: #ccc;
}
input::-ms-input-placeholder{
color: #ccc;
}
input::-moz-placeholder{
color: #ccc;
}
input[type=submit],input[type=button]{
cursor: pointer;
}
button[disabled], input[disabled] {
cursor: default;
}
img{
border:none;
}
ul,ol,li{
list-style-type:none;
}
/*公共方法*/
.clear{
clear: both;
}
.clearleft{
clear: left;
}
.clearright{
clear: right;
}
.floatleft{
float: left;
}
.floatright{
float: right;
}
.cursor{
cursor: pointer;
}
/*背景及色值表*/
.bg000{
background: #000;
}
.color000{
color: #000;
}
font-familiy部分可以用一下集中方式表示
1). 中文表示方式
font-family: "微软雅黑", "黑体", "宋体";
2). 英文表示方式
font-family: "Microsoft YaHei", SimHei, SimSun;
3). unicode码表示方式
font-family:"\5FAE\8F6F\96C5\9ED1", "\9ED1\4F53", "\5B8B\4F53";
或
font-family: "微软雅黑", "黑体", "宋体";

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

熱門話題

本文討論了HTML< Progress>元素,其目的,樣式和與< meter>元素。主要重點是使用< progress>為了完成任務和LT;儀表>對於stati

本文討論了html< datalist>元素,通過提供自動完整建議,改善用戶體驗並減少錯誤來增強表格。Character計數:159

本文討論了HTML< meter>元素,用於在一個範圍內顯示標量或分數值及其在Web開發中的常見應用。它區分了< meter>從< progress>和前

本文討論了使用HTML5表單驗證屬性,例如必需的,圖案,最小,最大和長度限制,以直接在瀏覽器中驗證用戶輸入。

本文討論了視口元標籤,這對於移動設備上的響應式Web設計至關重要。它解釋瞭如何正確使用確保最佳的內容縮放和用戶交互,而濫用可能會導致設計和可訪問性問題。

本文討論了< iframe>將外部內容嵌入網頁,其常見用途,安全風險以及諸如對象標籤和API等替代方案的目的。

GiteePages靜態網站部署失敗:404錯誤排查與解決在使用Gitee...
