日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

reset.css页面样式初始化

發(fā)布時間:2023/12/31 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 reset.css页面样式初始化 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

這個是所有HTML頁面樣式初始化,一般輸入的樣式…這里直接寫出來,以后寫樣式前,一定引入這個文件

reset.css

@charset "utf-8"; *{margin:0;padding:0;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;}html {/*height:100%;*/min-height: 100%;font-size: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%; }body {width: 100%;/*height:100%;*/min-height: 100%;font-family:"Microsoft YaHei","微軟雅黑","MicrosoftJhengHei","華文細黑","Helvetica", "Arial", "sans-serif";font-size: 14px;position: relative;word-break:break-all; }a {text-decoration: none;-webkit-tap-highlight-color: rgba(0, 0, 0, 0.35);-webkit-box-sizing:border-box; }img {-ms-interpolation-mode: bicubic;vertical-align: middle; }img:not([src*="/"]) {display: none; }table {border-collapse: collapse;border-spacing: 0; }/*th, td, caption {vertical-align: middle; }*/textarea {resize: none; }input, button, select, textarea {-webkit-appearance:none;outline: none;border-radius: 0; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {-webkit-appearance: none !important;margin: 0; } /*input:valid{visibility: visible;}*/ /*input::-webkit-input-placeholder {display: block;width:100%;height:100%;color:#00f;background:url(../imgs/w_7.png) no-repeat center -120px;-webkit-backgrond-size:30px auto;text-transform:uppercase;text-align: center;letter-spacing:3px; }*/ul,ol,li {list-style: none;-webkit-margin-before: 0;-webkit-margin-after: 0;-webkit-margin-start: 0;-webkit-margin-end: 0;-webkit-padding-start: 0; } .section-body .text {margin-top: 24px;margin-left: 40px;margin-right: 35px;width: 84%;font-family: "宋體";font-size: 18px; } .section-body .textImg{margin-top: 45px;color: blue;text-align: center;vertical-align: middle; }

總結(jié)

以上是生活随笔為你收集整理的reset.css页面样式初始化的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。