<!DOCTYPE HTML><html lang = \"en\"><head><meta charset = \"UTF-8\"/><style>*{margin:0;padding:0;}.box{display:flex;width:400px;height:200px;border:1px solid black;}.box_1{width:50%;height:100px;border:1px solid black;}.box_2{width:50%;height:100px;border:1px solid black;}</style></head><body><div class = \"box\"><div class = \"box_1\"></div><div class = \"box_2\"></div></div></body></html>
css+html两个子div平行均分父div
未经允许不得转载:爱站程序员基地 » css+html两个子div平行均分父div