CSS Remove HTML tags default margin margin and padding padding, generic tool class Base.css

Source: Internet
Author: User

@charset "Utf-8";/*! * @ Name: Base.css * @ function: 1, reset browser Default style * 2, set generic atomic class*//*prevents users from customizing the effect of background color on Web pages, adding allows users to customize fonts*/HTML{background: White;Color:Black;}/*internal and external margins often make different browser styles behave differently*/body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th, Td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0;}/*Note that the form element does not inherit the parent font problem*/Body,button,input,select,textarea{Font:12px \5b8b\4f53,arial,sans-serif;}Input,select,textarea{font-size:100%;}/*Remove the table cell margin and make its edges coincident*/Table{Border-collapse:collapse;border-spacing:0;}/*ie bug:th does not inherit text-align*/th{text-align:Inherit;}/*Remove default Border*/fieldset,img{Border:None;}/*IE6 7 8 (q) bug shown as in-line performance*/iframe{Display:Block;}/*remove the border from Firefox under this element*/abbr,acronym{Border:None;font-variant:Normal;}/*consistent del style*/del{text-decoration:Line-through;}Address,caption,cite,code,dfn,em,th,var{Font-style:Normal;Font-weight: -;}/*Remove the identification before the list, and Li will inherit*/Ol,ul{List-style:None;}/*alignment is the most important factor in typography, so don't let anything get centered.*/caption,th{text-align: Left;}/*from Yahoo, let the title be customized, adapt to multiple system applications*/H1,h2,h3,h4,h5,h6{font-size:100%;Font-weight: -;}Q:before,q:after{content:"';}/*Unified superscript and subscript*/Sub,sup{font-size:75%;Line-height:0;position:relative;vertical-align:Baseline;}sup{Top:-0.5em;}Sub{Bottom:-0.25em;}/*let the link show the underline in the hover state*/a:hover{text-decoration:Underline;}/*underline is not displayed by default, keeping the page concise*/Ins,a{text-decoration:None;}/*Remove IE6 & IE7 focal Point lines*/A:focus,*:focus{Outline:None;}/*Clear Floating*/. Clearfix:before,.clearfix:after{content:"";Display:Table;}. Clearfix:after{Clear:both;Overflow:Hidden;}. Clearfix{Zoom:1;/*For IE6 & IE7*/}. Clear{Clear:both;Display:Block;font-size:0;Height:0;Line-height:0;Overflow:Hidden;}/*set display and hide, often used with JS mates*/. Hide{Display:None;}. Block{Display:Block;}/*set float to reduce the bug caused by floating*/. fl,.fr{Display:inline;}. FL{float: Left;}. Fr{float: Right;}

CSS Remove HTML tags default margin margin and padding padding, generic tool class Base.css

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.