<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div style="height:50px; line-height: 50px; background-color: #ffb900; color: #eff9f9"> <div style="font-size: 10px; float: left; width: 20%">1</div> <div style="font-size: 10px; float: right; width: 60%">2</div> </div> </body> </html>
浮动float 摆放位置
猜你喜欢
转载自www.cnblogs.com/my-love-is-python/p/9263821.html
今日推荐
周排行