mobileWorksPublic.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. *{
  2. padding: 0;
  3. margin: 0;
  4. }
  5. body {
  6. width: 100%;
  7. min-width: 320px;
  8. max-width: 540px;
  9. margin: 0 auto;
  10. font-size: 16px;
  11. font-family: -apple-system, Helvetica, sans-serif;
  12. }
  13. .clearfix:after{
  14. content:""; /*设置内容为空*/
  15. height:0; /*高度为0*/
  16. line-height:0; /*行高为0*/
  17. display:block; /*将文本转为块级元素*/
  18. visibility:hidden; /*将元素隐藏*/
  19. clear:both; /*清除浮动*/
  20. }
  21. .clearfix{
  22. zoom:1; /*为了兼容IE*/
  23. }
  24. a{
  25. text-decoration: none;
  26. background-color: transparent;
  27. }
  28. input{
  29. outline: none;
  30. border: none;
  31. }
  32. li{
  33. list-style: none;
  34. }
  35. .tag{
  36. border-bottom-color: #747bff;
  37. display: block;
  38. width: 0;
  39. height: 0;
  40. position: absolute;
  41. top: -45px;
  42. left: -45px;
  43. border: 45px solid transparent;
  44. border-bottom: 45px solid #747bff;
  45. transform: rotate(-45deg);
  46. -ms-transform: rotate(-45deg);
  47. -moz-transform: rotate(-45deg);
  48. -webkit-transform: rotate(-45deg);
  49. -o-transform: rotate(-45deg);
  50. /* left: -35px; */
  51. z-index: 10;
  52. }
  53. .tag label{
  54. position: absolute;
  55. top: 20px;
  56. left: -45px;
  57. font-size: 16px;
  58. color: #fff;
  59. display: block;
  60. width: 90px;
  61. text-align: center;
  62. }