a.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @charset "utf-8";
  2. //font
  3. $table:90px;
  4. body {
  5. background : yellow;
  6. padding-bottom: $table;
  7. .table {
  8. position: fixed;
  9. bottom : 0;
  10. left : 0;
  11. width : 100%;
  12. height : $table;
  13. margin: 0;
  14. background-color: #fff;
  15. ul {
  16. width: 100%;
  17. height : 100%;
  18. li {
  19. width : 24%;
  20. height : 100%;
  21. display: inline-block;
  22. text-align: center;
  23. span{
  24. margin-top: 60px;
  25. display: inline-block;
  26. }
  27. }
  28. li:nth-child(1){
  29. background: url(../static/img/ztb.png) no-repeat center 16px;
  30. }
  31. li:nth-child(2){
  32. background: url(../static/img/gc.png) no-repeat center 16px;
  33. }
  34. li:nth-child(3){
  35. background: url(../static/img/xm.png) no-repeat center 16px;
  36. }
  37. li:nth-child(4){
  38. background: url(../static/img/me.png) no-repeat center 16px;
  39. }
  40. }
  41. }
  42. * {
  43. margin : 0;
  44. padding: 0;
  45. }
  46. }
  47. * {
  48. text-decoration: none;
  49. list-style : none;
  50. box-sizing: border-box;
  51. }
  52. $colour :#009688 #5FB878 #393D49 #1E9FFF #F7B824 #FF5722