public.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. 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,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,roof,hgroup,menu,nav,output,ruby,section1,summary,time,mark,audio,video {
  2. margin: 0px;
  3. padding: 0px;
  4. border: 0px none;
  5. font: inherit;
  6. box-sizing: border-box;
  7. }
  8. body {
  9. line-height: 1;
  10. text-align: left;
  11. font-family: Arial, Helvetica, sans-serif;
  12. font-size: 14px;
  13. box-sizing: border-box;
  14. min-width: 1200px;
  15. }
  16. article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}
  17. ol,
  18. ul {
  19. list-style: outside none none;
  20. box-sizing: border-box;
  21. }
  22. * {
  23. padding: 0px;
  24. margin: 0px;
  25. border: 0px none;
  26. }
  27. a {
  28. color: #333;
  29. text-decoration: none;
  30. }
  31. /* a:hover{color: #e61717;} */
  32. .fl {
  33. float: left;
  34. }
  35. .fr {
  36. float: right;
  37. }
  38. .clear::after {
  39. display: block;
  40. content: '';
  41. clear: both;
  42. }
  43. .box {
  44. width: 1200px;
  45. margin: 0 auto;
  46. }
  47. /*单行溢出*/
  48. .one-txt-cut{
  49. overflow: hidden;
  50. white-space: nowrap;
  51. text-overflow: ellipsis;
  52. }
  53. /*多行溢出 手机端使用*/
  54. .txt-cut{
  55. overflow : hidden;
  56. text-overflow: ellipsis;
  57. display: -webkit-box;
  58. /* -webkit-line-clamp: 2; */
  59. -webkit-box-orient: vertical;
  60. }