javascript - 在APP 镶嵌中,html 当所有标签margin为0,padding为0时。标签组合会不会产生margin、padding值?
迷茫
迷茫 2017-04-10 17:00:11
0
1
574

// css/style*

@charset "utf-8";
html,body,p,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {

margin:0;
padding:0;
border:0;
font-size:100%;
font:inherit;
vertical-align:baseline;
-webkit-touch-callout:none

}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {

display:block

}
body {

line-height:1.5555555;

}
ol {

list-style:inside decimal

}
ul {

list-style:inside disc

}
blockquote,q {

quotes:none

}
blockquote:before,blockquote:after,q:before,q:after {

content:'';
content:none

}
table {

border-collapse:collapse;
border-spacing:0

}
strong {

font-weight:700

}

img {

max-width: 100%;
margin: 10px 0;

}

a {

color: #ff9900;
text-decoration: none;

}

p {

max-width: 100%;
max-height: 100%;
overflow: hidden;

}

h1, .h1{

font-size: 2.0rem;

}

h2, .h2{

font-size: 1.8rem;

}

h3, .h3{

font-size: 1.6rem;

}

h4, .h4{

font-size: 1.4rem;

}

h5, .h5{

font-size: 1.2rem;

}

p {

font-size: 1.1rem;

}

._emotion {

max-width:2rem;

}

.imgWidth {

max-width: 100%;

}

.imgBgcolor {

background-color:#f6f6f6;

}

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

Antworte allen(1)
巴扎黑

你好,会不会产生margin,padding,你可以试一下,有什么问题吗?目前我使用margin:0时候内嵌APP和在外面没有什么不同

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage