Webkit内核的浏览器默认CSS属性

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
display: block;
/* special centering to be able to emulate the html4/netscape behaviour */
text-align: -webkit-center
}
hr {
display: block;
margin: 0.5em auto;
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
padding-left: 2px;
padding-right: 2px;
border: none
}
fieldset {
display: block;
margin-left: 2px;
margin-right: 2px;
padding: 0.35em 0.75em 0.625em;
font: -webkit-small-control;
color: initial;
letter-spacing: normal;
word-spacing: normal;
line-height: normal;
text-transform: none;
text-indent: 0;
border-color: inherit
}
td, th {
display: table-cell;
vertical-align: inherit
}
th {
font-weight: bold
}
caption {
display: table-caption;
text-align: -webkit-center
display: inline-block;
vertical-align: middle;
border-color: inherit
}
tfoot {
display: table-footer-group;
vertical-align: middle;
border-color: inherit
}
/* for tables without table section elements (can happen with XHTML or dynamically created tables) */
}
/* lists */
ul, menu, dir {
display: block;
list-style-type: disc;
margin: 1__qem 0 1em 0;
-webkit-padding-start: 40px
}
ol {
display: block;
list-style-type: decimal;
}
q {
display: inline
}
q:before {
content: '"'
/* FIXME: content: open-quote; */
}
q:after {
content: '"'
/* FIXME: content: close-quote; */
}
center {
list-style-type: square
}
dd {
display: block;
-webkit-margin-start: 40px
}
dl {
display: block;
margin: 1__qem 0 1em 0
}
dt {
display: block
}
ol ul, ul ol, ul ul, ol ol {
border-spacing: 2px;
border-color: gray
}
thead {
display: table-header-group;
vertical-align: middle;
border-color: inherit
}
tbody {
display: table-row-group;
*
*/
@namespace "/1999/xhtml";
html {
display: block
}
/* children of the <head> element all have display:none */
head {
display: none
font-weight: bold
}
h2 {
display: block;
font-size: 1.5em;
margin: .83__qem 0 .83em 0;
font-weight: bold
}
h3 {
display: block;
font-size: 1.17em;
margin: 1__qem 0 1em 0;
font-weight: bold
}
h4 {
display: block;
margin: 1.33__qem 0 1.33em 0;
font-weight: bold
}
h5 {
display: block;
font-size: .83em;
margin: 1.67__qem 0 1.67em 0;
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
body {
display: block;
margin: 8px
}
p {
display: block;
margin: 1.0__qem 0px
}
div {
display: block
}
layer {
display: block
}
article, aside, footer, header, nav, section {
font-weight: bold
}
h6 {
display: block;
font-size: .67em;
margin: 2.33__qem 0 2.33em 0;
font-weight: bold
}
/* tables */
table {
display: table;
border-collapse: separate;
}
input[type="search"] {
-webkit-appearance: searchfield;
-webkit-box-sizing: border-box;
}
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: searchfield-cancel-button;
margin-top: 0;
margin-bottom: 0
}
/* form elements */
form {
display: block;
margin-top: 0__qem
}
label {
cursor: default;
}
legend {
display: block;
}
meta {
display: none
}
title {
display: none
}
link {
display: none
}
style {
display: none
}
script {
display: none
}
/* generic block-level elements */
margin: 1__qem 0 1em 0;
-webkit-padding-start: 40px
}
li {
display: list-item
}
ul ul, ol ul {
list-style-type: circle
}
ol ol ul, ol ul ul, ul ol ul, ul ul ul {
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
table > tr {
vertical-align: middle;
}
col {
display: table-column
}
colgroup {
display: table-column-group
}
tr {
display: table-row;
vertical-align: inherit;
text-shadow: none;
display: inline-block;
text-align: -webkit-auto;
}
input[type="hidden"] {
display: none
}
input, input[type="password"], input[type="search"], isindex {
border-style: inset;
border-width: 1px
}
map {
display: inline
}
/* heading elements */
h1 {
display: block;
font-size: 2em;
margin: .67__qem 0 .67em 0;
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
border: 2px groove ThreeDFace
}
button {
-webkit-appearance: button;
}
input, textarea, keygen, select, button, isindex, datagrid {
margin: 0__qem;
-webkit-appearance: textfield;
padding: 1px;
background-color: white;
border: 2px inset;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
cursor: auto;
displaysplay: inline-block;
overflow: -webkit-marquee
}
address {
display: block
}
blockquote {
display: block;
margin: 1__qem 40px 1em 40px
Webkit内核的浏览器默认CSS属性
/*
* The default style sheet used to render HTML.
*
* Copyright (C) 2000 Lars Knoll (knoll@)
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
相关文档
最新文档