Flex布局兼容写法 CSS
一.W3C各个版本的flex
2009 version
标志:display: box; or a property that is box-{*} (eg. box-pack)
2011 version
标志:display: flexbox; or the flex() function or f...
CSS书写规范及顺序 CSS
CSS书写规范及顺序
CSS书写顺序
1.位置属性(position, top, right, z-index, display, float等)
2.大小(width, height, padding, margin)
3.文字系列(font, line-height, letter-spacing, color- text-align等)
4.背景(ba...
很全base全局样式 CSS
@charset "utf-8";
/* CSS Document */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,filedset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:col...