1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } #one{ background:pink ; width: 300px; height: 300px; margin-bottom: 50px; } #two{ background-color: deeppink; width: 300px;; height: 300px; margin-top: 100px; } #s1,#s2{ background-color: yellow; margin-top: 50px; } #s1{ margin-right: 50px; } #s2{ margin-left: 50px; } </style> </head> <body> <div id="one"> 遇事不决,可问春风。 </div> <div id="two"> 春风不语,可随本心。 </div> <span id="s1"> 行元素11111111 </span> <span id="s2"> 行元素22222222 </span> </body> </html>
|