構建公用樣式

來源:互聯網
上載者:User

標籤:

  1. /* reset public style*/
  2. html,body,div,span,applet,object,iframe,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,dl,dt,dd,ol,nav ul,nav 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;}
  3. article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
  4. ol,ul{list-style:none;margin:0;padding:0;}
  5. blockquote,q{quotes:none;}
  6. blockquote:before,blockquote:after,q:before,q:after{content:‘‘;content:none;}
  7. table{border-collapse:collapse;border-spacing:0;}
  8. /* start editing from here */
  9. a{text-decoration:none;}
  10. .txt-rt{text-align:right;}/* text align right */
  11. .txt-lt{text-align:left;}/* text align left */
  12. .txt-center{text-align:center;}/* text align center */
  13. .float-rt{float:right;}/* float right */
  14. .float-lt{float:left;}/* float left */
  15. .clear{clear:both;}/* clear float */
  16. .pos-relative{position:relative;}/* Position Relative */
  17. .pos-absolute{position:absolute;}/* Position Absolute */
  18. .vertical-base{ vertical-align:baseline;}/* vertical align baseline */
  19. .vertical-top{ vertical-align:top;}/* vertical align top */
  20. .underline{ padding-bottom:5px; border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
  21. nav.vertical ul li{ display:block;}/* vertical menu */
  22. nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
  23. img{max-width:100%;}

構建公用樣式

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.