CSS 元素特定的CSS重置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS 元素特定的CSS重置相关的知识,希望对你有一定的参考价值。
/* selector for element and children */
#parent-element,#parent-element *,#parent-element a:hover,#parent-element a:visited,#parent-element a:active{
background:none;
border:none;
bottom:auto;
clear:none;
cursor:default;
/* didn't really know what the default for display should be*/
/*display:inline;*/
float:none;
font-family:Arial, Helvetica, sans-serif;
font-size:medium;
font-style:normal;
font-weight:normal;
height:auto;
left:auto;
letter-spacing:normal;
line-height:normal;
max-height:none;
max-width:none;
min-height:0;
min-width:0;
overflow:visible;
position:static;
right:auto;
text-align:left;
text-decoration:none;
text-indent:0;
text-transform:none;
top:auto;
visibility:visible;
white-space:normal;
width:auto;
z-index:auto;
}
以上是关于CSS 元素特定的CSS重置的主要内容,如果未能解决你的问题,请参考以下文章
jQuery + Animate.css 动画只工作一次,动画不重置
css 在元素上重置css
为一个 div 元素重置多个 CSS 样式
CSS 重置CSS avec元素HTML5
通过 CSS 重置 HTML 元素的高度
CSS 额外强度CSS重置和常见HTML元素样式 - 已更新