Blogger Information
Blog 6
fans 0
comment 0
visits 3934
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
数字九宫格作业
寒夏
Original
677 people have browsed it

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>数字9官格</title>
  7. <style>
  8. .one{
  9. width: 385px;
  10. height: 385px;
  11. margin: auto;
  12. }
  13. .one1 div{
  14. width: 100px;
  15. height: 100px;
  16. /* border: 1px solid #000; */
  17. float: left;
  18. }
  19. .one1_1{
  20. background-image: url('./img/aa.jpg');
  21. background-position: -11px -8px;
  22. }
  23. .one1_2{
  24. background-image: url('./img/aa.jpg');
  25. background-position: -121px -126px;
  26. }
  27. .one1_3{
  28. background-image: url('./img/aa.jpg');
  29. background-position: -231px -244px;
  30. }
  31. .one1_4{
  32. background-image: url('./img/aa.jpg');
  33. background-position: -341px -362px;
  34. }
  35. .one1_5{
  36. background-image: url('./img/aa.jpg');
  37. background-position: -451px -480px;
  38. }
  39. .one1_6{
  40. background-image: url('./img/aa.jpg');
  41. background-position: -561px -598px;
  42. }
  43. .one1_7{
  44. background-image: url('./img/aa.jpg');
  45. background-position: -671px -716px;
  46. }
  47. .one1_8{
  48. background-image: url('./img/aa.jpg');
  49. background-position: -781px -834px;
  50. }
  51. .one1_9{
  52. background-image: url('./img/aa.jpg');
  53. background-position: -892px -953px;
  54. }
  55. </style>
  56. </head>
  57. <body>
  58. <div class="one">
  59. <div class="one1">
  60. <div class="one1_1"></div>
  61. <div class="one1_2"></div>
  62. <div class="one1_3"></div>
  63. </div>
  64. <div class="one1">
  65. <div class="one1_4"></div>
  66. <div class="one1_5"></div>
  67. <div class="one1_6"></div>
  68. </div>
  69. <div class="one1">
  70. <div class="one1_7"></div>
  71. <div class="one1_8"></div>
  72. <div class="one1_9"></div>
  73. </div>
  74. </div>
  75. </body>
  76. </html>
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post