Copy code The code is as follows:@charset "utf-8"; /* @Name: base @Function: Reset browser default style */ /* Prevent users from customizing the background color of the web page and add a method to allow users to customize the font*/ html { color:black; background:white; } /* Margins usually make the styles appear differently in different browsers */ 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 form elements do not inherit the parent font*/ body,button,input,select,textarea { font:12px SimSun,tahoma,arial,sans-serif; } input,select,textarea { font-size:100%; } /* Remove the margins of each Table cell and make their edges overlap*/ table { border-collapse:collapse; border-spacing:0; } /* IE bug fixed: th does not inherit text-align*/ th { text-align:inherit; } /* Remove the default border */ fieldset,img { border:none; } /* ie6 7 8(q) bug is displayed as inline performance*/ iframe { display:block; } /* Remove the border of this element in Firefox*/ 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:500; } /* Remove the mark before the list, li will inherit it*/ ol,ul { list-style:none; } /* Alignment is the most important factor in typesetting, don't center everything*/ caption,th { text-align:left; } /* From Yahoo, let the title be customized to adapt to multiple system applications*/ h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:500; } q:before,q:after { content:''; } /* Unify superscript and subscript */ sub, sup { font-size:75%; line-height:0; position:relative; vertical-align:baseline; } sup { top:-0.5em; } sub { bottom:-0.25em; } /* Make the link underlined when hovering*/ a:hover { text-decoration:underline; } /*Underline is not displayed by default to keep the page simple*/ ins,a { text-decoration:none; } /* Remove the focus dot line in IE6 and 7*/ a:focus,*:focus { outline:none; } /* Clear floats */ .clearfix:before,.clearfix:after { content:""; display:table; } .clearfix:after { clear:both; overflow:hidden; } .clearfix { zoom:1; /* for IE6 IE7 */ } .clear{ clear:both; display:block; overflow:hidden; height:0; line-height:0; font-size:0; } /* Set display and hiding, usually used in conjunction with JS*/ .hide { display:none !important; visibility:hidden; } .block { display:block !important; } /* Set inline to reduce bugs caused by floating */ .fl { float:left; display:inline; } .fr { float:right; display:inline; } |
<<: A brief discussion on the difference between Mysql primary key index and non-primary key index
>>: A brief discussion on whether CSS will block page rendering
Table of contents Overview Canvas API: Drawing Gr...
CHAR and VARCHAR types are similar, differing pri...
This article example shares the specific code of ...
1. Business Scenario I have been doing developmen...
Understanding of polling In fact, the focus of po...
Table of contents Combining lookahead and lookbeh...
Table of contents Preface condition Install Docke...
Table of contents Preface 1. Set the prototype on...
One environment Install VMware Tools on CentOS 7 ...
I recently started learning Linux. After reading ...
Preface When I was working on a project recently,...
Using the CSS3 border-image property, you can set...
Brief review: Browser compatibility issues are of...
Preface Index Condition Pushdown (ICP) is a new f...
Use examples to familiarize yourself with the mean...