list.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. @charset "UTF-8";
  2. /*
  3. sass使用 $ 符号来标识变量
  4. */
  5. /*! sass有作用域 */
  6. /*
  7. 多行注释 会在css文件里生成 但是不会再min.css文件里生成
  8. 单行注释 不会在css文件里生成
  9. 强制注释 会在css和min.css文件里生成
  10. */
  11. /*
  12. 插值语句
  13. 变量 属性名如果是变量可以使用这种
  14. 一般 不建议这么操作
  15. */
  16. div {
  17. width: 100px;
  18. height: 100px;
  19. background: #ff0000;
  20. color: #ff0000;
  21. }
  22. div2 {
  23. width: 200px;
  24. height: 200px;
  25. background: #ff0000;
  26. }
  27. #list {
  28. width: 100px;
  29. height: 100px;
  30. }
  31. #list li {
  32. font-size: 12px;
  33. }
  34. #list li p {
  35. padding-top: 20px;
  36. padding-left: 40px;
  37. }
  38. #list-inner {
  39. color: #ff0000;
  40. }
  41. .link {
  42. color: #ff0000;
  43. }
  44. .link:hover {
  45. color: #ccc;
  46. }
  47. .login-btn {
  48. width: 100px;
  49. height: 40px;
  50. line-height: 40px;
  51. text-align: center;
  52. border-radius: 5px;
  53. color: #000000;
  54. background: #ff0000;
  55. }
  56. .submit-btn {
  57. width: 50px;
  58. height: 30px;
  59. line-height: 100px;
  60. text-align: center;
  61. border-radius: 5px;
  62. color: #000000;
  63. background: #ff0000;
  64. }
  65. .del-btn {
  66. width: 200px;
  67. height: 100px;
  68. line-height: 100px;
  69. text-align: center;
  70. border-radius: 5px;
  71. color: #000000;
  72. background: #ff0000;
  73. }
  74. .wrapper, .wrapper .inner, #main {
  75. width: 100px;
  76. height: 30px;
  77. font-size: 10px;
  78. }
  79. .wrapper .inner, #main .inner {
  80. padding: 20px;
  81. }
  82. .wrapper .inner p, #main .inner p {
  83. color: #ff0000;
  84. }
  85. #main {
  86. margin: 10px;
  87. }
  88. .content {
  89. width: 30%;
  90. }
  91. .last {
  92. width: 8;
  93. }
  94. div {
  95. width: 80px;
  96. border-top: 1px solid #000;
  97. }
  98. section {
  99. border-bottom: 1px solid #000;
  100. }
  101. p {
  102. color: blue;
  103. }
  104. li {
  105. font-size: 12px;
  106. }
  107. .list-1 {
  108. width: 100px;
  109. }
  110. .list-2 {
  111. width: 200px;
  112. }
  113. .list-3 {
  114. width: 300px;
  115. }
  116. .none-1 {
  117. width: 100px;
  118. }
  119. .none-2 {
  120. width: 200px;
  121. }
  122. .content-red {
  123. color: red;
  124. }
  125. .content-blue {
  126. color: blue;
  127. }
  128. .content-pink {
  129. color: pink;
  130. }
  131. .content-green {
  132. color: green;
  133. }
  134. .none_3 {
  135. width: 6px;
  136. }
  137. .none_2 {
  138. width: 4px;
  139. }
  140. .none_1 {
  141. width: 2px;
  142. }