1、注意:在reset的时候,避免不必要的重置,例如“dt”没有默认边距。“ul”、“ol”只有左外边距。。。
2、在使用的时候因为全局设置字体为62.5%,所以页面要包裹class为"fz"的div,设置页面字体为12px
/*reset*/
body, p, dd, dl, form, h1, h2, h3, ul, ol, textarea { margin: 0; }
ul, ol { padding-left: 0; }
td, th, button, input, select, textarea, iframe { margin: 0; padding: 0; }
body, button, input, select, option, textarea { font-family: "Microsoft YaHei", "Arial"; color: #333; font-size: 62.5%; *font-size: 63%; }
input { border: none; }
input[type="text"], input[type="password"] { text-indent: 4px; }
body { background-color: #fff; }
li { list-style: none; }
a { color: #0074d9; text-decoration: none; }
a:link { }
a:visited { }
a:hover { }
a:active { }
iframe { border: none; }
table { border-collapse: collapse; border-spacing: 0; }
/*去除浏览器默认效果*/
input:focus, textarea:focus, select:focus { outline: none }
/*去除Chrome等浏览器文本框默认发光边框*/
input::-ms-clear { display: none; }
/*去除ie10+浏览器文本框后面的小叉叉*/
textarea { resize: none; }
/*禁止多行文本框textarea拖拽*/
/*------------------- single css ---------------------------*/
/*background-color*/
.bg-white { background-color: #fff; }
.bg-red { background-color: #ff4136; }
.bg-grey { background-color: #dcdcdc; }
/*border-color name rule*/
.bde { border: 1px solid #eee; }
.bbd { border-bottom: 1px solid #ddd; }
/*clear*/
.clb { clear: both; }
.cll { clear: left; }
.clr { clear: right; }
/*cursor*/
.poi { cursor: pointer; }
.def { cursor: default; }
/*colors*/
.white { color: #fff; }
.grey { color: #aaa; }
.orange { color: #FF8518; }
.red { color: #FF4136; }
.g3 { color: #333; }
.g6 { color: #666; }
/*display*/
.dn { display: none; }
.dib { display: inline-block; }
/*float*/
.l { float: left; }
.r { float: right; }
/*font-size*/
.fz { font-size: 1.2em; }
.fz button, .fz input, .fz select, .fz textarea, .fz option { font-size: 1em; }
.fz14, input.fz { font-size: 1.15em; }
.fz18 { font-size: 1.3em; }
.fz24 { font-size: 2em; }
/*font-family*/
.fa { font-family: Arial; }
.fv { font-family: verdana; }
.fw { font-family: 'Microsoft Yahei'; }
/*font-style*/
.n { font-weight: normal; }
.b { font-weight: bold; }
.i { font-style: italic; }
/*height*/
.h20 { height: 20px; }
/*letter-spacing*/
.lt1 { letter-spacing: 1px; }
/*line-height*/
.lh40 { line-height: 40px; }
/*margin*/
.ml5 { margin-left: 5px; }
.ml10 { margin-left: 10px; }
.mr5 { margin-right: 5px; }
.mr10 { margin-right: 10px; }
.mt5 { margin-top: 5px; }
.mt10 { margin-top: 10px; }
.mb5 { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
/*overflow*/
.ovh { overflow: hidden; }
.ova { overflow: auto; }
/*padding*/
.p10 { padding: 10px; }
.pl5 { padding-left: 5px; }
.pl10 { padding-left: 10px; }
.pr5 { padding-right: 5px; }
.pr10 { padding-right: 10px; }
.pt5 { padding-top: 5px; }
.pt10 { padding-top: 10px; }
.pb5 { padding-bottom: 5px; }
.pb10 { padding-bottom: 10px; }
/*position*/
.rel { position: relative; }
.abs { position: absolute; }
/*percent width value*/
.pctW { width: 100%; }
.pctH { height: 100% }
/*text-align*/
.tc { text-align: center; }
.tr { text-align: right; }
.tl { text-align: left; }
/*text-decoration*/
.tdl { text-decoration: underline; }
.tdn { text-decoration: none; }
/*vertical-align*/
.vm { vertical-align: middle; }
.vtb { vertical-align: text-bottom; }
.vb { vertical-align: bottom; }
.vt { vertical-align: top; }
.vn { vertical-align: -2px; }
/*visibility*/
.vh { visibility: hidden; }
.vv { visibility: visible; }
/*white-space*/
.nowrap { white-space: nowrap; }
/*white-wrap*/
.bk { word-wrap: break-word; }
/*width*/
.w100 { width: 100px; }
/*z-index*/
.zx1 { z-index: 1; }
.zx2 { z-index: 2; }
/*zoom*/
.z { *zoom: 1; }
/*------------------- multiply css ---------------------------*/
/*块状元素水平居中*/
.auto { margin-left: auto; margin-right: auto; }
/*清除浮动*/
.fix { *zoom: 1; }
.fix:after { display: table; content: ''; clear: both; }
/*双栏自适应cell部分连续英文符换行*/
.cell_bk { display: table; width: 100%; table-layout: fixed; word-wrap: break-word; }
/*单行文字溢出虚点显示*/
.ell { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
/*css3过渡动画效果*/
.trans { -webkit-transition: all 0.3s; transiton: all 0.3s; }

이 기사는 HTML & lt; Progress & Gt에 대해 설명합니다. 요소, 그 목적, 스타일 및 & lt; meter & gt의 차이; 요소. 주요 초점은 & lt; progress & gt; 작업 완료 및 & lt; meter & gt; Stati의 경우

이 기사는 HTML & LT; Datalist & GT에 대해 논의합니다. 자동 완성 제안을 제공하고, 사용자 경험을 향상시키고, 오류를 줄임으로써 양식을 향상시키는 요소. 문자 수 : 159

이 기사는 HTML & lt; meter & gt에 대해 설명합니다. 범위 내에 스칼라 또는 분수 값을 표시하는 데 사용되는 요소 및 웹 개발의 일반적인 응용 프로그램. & lt; meter & gt; & lt; Progress & Gt; 그리고 Ex

이 기사는 모바일 장치의 반응 형 웹 디자인에 필수적인 Viewport Meta Tag에 대해 설명합니다. 적절한 사용이 최적의 컨텐츠 스케일링 및 사용자 상호 작용을 보장하는 방법을 설명하는 반면, 오용은 설계 및 접근성 문제로 이어질 수 있습니다.

이 기사는 html5 & lt; time & gt; 시맨틱 날짜/시간 표현 요소. 인간이 읽을 수있는 텍스트와 함께 기계 가독성 (ISO 8601 형식)에 대한 DateTime 속성의 중요성을 강조하여 Accessibilit를 향상시킵니다.

기사는 HTML5 크로스 브라우저 호환성을 보장하기위한 모범 사례에 대해 논의하고 기능 감지, 점진적 향상 및 테스트 방법에 중점을 둡니다.

이 기사에서는 브라우저에서 직접 사용자 입력을 검증하기 위해 필요한, Pattern, Min, Max 및 Length 한계와 같은 HTML5 양식 검증 속성을 사용하는 것에 대해 설명합니다.

이 기사는 & lt; iframe & gt; 외부 컨텐츠를 웹 페이지, 공통 용도, 보안 위험 및 객체 태그 및 API와 같은 대안을 포함시키는 태그의 목적.


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

VSCode Windows 64비트 다운로드
Microsoft에서 출시한 강력한 무료 IDE 편집기

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

맨티스BT
Mantis는 제품 결함 추적을 돕기 위해 설계된 배포하기 쉬운 웹 기반 결함 추적 도구입니다. PHP, MySQL 및 웹 서버가 필요합니다. 데모 및 호스팅 서비스를 확인해 보세요.

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

Eclipse용 SAP NetWeaver 서버 어댑터
Eclipse를 SAP NetWeaver 애플리케이션 서버와 통합합니다.

뜨거운 주제



