工具箱+对Chris Coyier的工具箱CSS的扩展
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了工具箱+对Chris Coyier的工具箱CSS的扩展相关的知识,希望对你有一定的参考价值。
A compiled version of essential styles as a nice blue print for a new project.Toolbox: http://www.css-tricks.com
CSS Reset: http://meyerweb.com/eric/tools/css/reset/
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ 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; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* Toolbox CSS Chris Coyier http://css-tricks.com */ /* LAYOUT TOOLS */ .floatLeft{float:left;} .floatRight{float:right;} /* .clear{clear:both;} <-- Originally from toolbox css MODIFIED .CLEAR CLASS */ .clear:before, .clear:after {content:"";display:table;} .clear:after {cler:both;} /* IE 6/7 */ .clear {zoom:1;} .layoutCenter{margin:0 auto;} .textCenter{text-align:center;} .textRight{text-align:right;} .textLeft{text-align:left;} /* PRINT TOOLS */ .page-break{page-break-before:always;} /* TYPOGRAPHIC TOOLS */ .error{border:1px solid #fb4343;padding:3px;color:#fb4343;} .warning{border:1px solid #d4ac0a;padding:3px;color:#d4ac0a;} .success{border:1px solid #149b0d;padding:3px;color:#149b0d;} .callOut{font-size:125%;font-weight:bold;} .strikeOut{text-decoration:line-through;} .underline{text-decoration:underline;} .resetTypeStyle{font-weight:normal;font-style:normal;font-size:100%;text-decoration:none;background-color:none;word-spacing:normal;letter-spacing:0px;text-transform:none;text-indent:0px;} /* STYLING EXTRAS */ a[href^="mailto"]{background:url(images/emailIcon.png) left center no-repeat;padding-left:10px;} a[href~=".pdf"]{background:url(images/pdfIcon.png) left center no-repeat;padding-left:10px;} a.button{color:black;border:1px solid black;padding:3px;} a.button:hover{background:black;color:white;} .transpBlack{background:url(images/transpBlack.png);} /* DISPLAY VALUES */ .hide{display:none;} .show{display:block;} .invisible{visibility:hidden;} /*** My extras ***/ #preload /* Add under </body> on index page. */ { width: 0px; height: 0px; display: inline; background-image: url(image1.png); /*Put images above this line */ background-image: url(); }
以上是关于工具箱+对Chris Coyier的工具箱CSS的扩展的主要内容,如果未能解决你的问题,请参考以下文章
html 用于使45到75个字符之间的文本变为红色的代码段。由Chris Coyier创建:https://codepen.io/chriscoyier/pen/atebf
LLVM之父Chris Lattner:模块化设计决定AI前途,不服来辩