Bootstrap reset. Less

Source: Internet
Author: User

it is basically derived from normalize.css and does not use any less syntax. It is hard to see the use of the "//" annotation.

/* Reset. less * props to Eric Meyer (meyerweb.com) for his CSS reset file. we're re using an adapted version here that cuts out some of the reset HTML elements we will never need here (I. E ., dfn, SAMP, etc ). * bytes ------------------------------------------------------------ * // * HT TPS: // your Eric Meyer reset -------------------------------------------------- */html, body {margin: 0; padding: 0;} H1, H2, H3, H4, H5, H6, P, BLOCKQUOTE, PRE, A, abbr, acronym, address, cite, code, Del, dfn, em, IMG, Q, S, SAMP, small, strike, strong, sub, sup, TT, vaR, DD, DL, DT, Li, ol, UL, fieldset, form, label, legend, Button, table, caption, tbody, tfoot, thead, TR, Th, TD {margin: 0; padding: 0; Border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-Height: 1; font-family: Inherit;} table {border-collapse: collapse; border-Spacing: 0;} ol, ul {list-style: none;} Q: before, Q: After, BLOCKQUOTE: before, BLOCKQUOTE: After {content :"";} // normalize.css // pulling in select resets form the norm Alize.css project // display in IE6-9 and ff3 // ----------------------------- // Source: http://github.com/necolas/normalize.csshtml {overflow-Y: Scroll; font-size: 100%; -WebKit-text-size-adjust: 100%;-MS-text-size-adjust: 100%;} // focus Statesa: Focus {outline: thin dotted ;} // hover & activea: hover, A: active {outline: None 0;} // make the IE6-9 and ff3 support htm New label of L5 // ------------------------- // Source: http://github.com/necolas/normalize.cssarticle,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;} // Let the IE6-9 and ff3 support HTML5 new label inline-block // ------------------------- // Source: the http://github.com/necolas/normalize.cssaudio,canvas,video {display: inline-block; * display: inline; * ZOOM: 1;} // prevents modern browsers from di Splaying 'audio' without controls // --------------------------- // Source: http://github.com/necolas/normalize.cssaudio:not ([controls]) {display: none ;} // prevents sub and sup affecting line-height in all browsers // ----------------------- // Source: http://github.com/necolas/normalize.csssub,sup {font-size: 75%; line-Height: 0; position: relative; vertical-align: baseline;} sup {top:-0.5em;} sub {Bottom:-0.25em;} // IMG border in A's and image quality // -------------------------/Source: http://github.com/necolas/normalize.cssimg {border: 0;-MS-interpolation-mode: bicubic;} // forms // ------------------------- // Source: http://github.com/necolas/normalize.css// font size in all browsers, margin changes, MISC consistencybutton, input, select, textarea {font-size: 100%; margin: 0; vertical -Align: baseline; * vertical-align: middle;} button, input {Line-Height: normal; // ff3/4 have! Important on line-height in UA stylesheet * overflow: visible; // inner spacing ie IE6/7} button:-moz-focus-inner, input :: -Moz-focus-inner {// inner padding and border oddities in ff3/4 Border: 0; padding: 0;} button, input [type = "button"], input [type = "reset"], input [type = "Submit"] {cursor: pointer; // cursors on all buttons applied consistently-WebKit-appearance: button; // style clicable inputs in IOS} input [type = "Search"] {// appearance in Safari/chrome-WebKit-appearance: textfield;-WebKit-box-sizing: content-box;-moz-box-sizing: Content-box;} input [type = "Search"]: -WebKit-search-decoration {-WebKit-appearance: none; // inner-padding issues in chrome OSX, Safari 5} textarea {overflow: auto; // remove vertical scrollbar in IE6-9 vertical-align: Top; // readability and alignment cross-browser}

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.