css flex彈性盒佈局 實現一個左右寬度固定,中間自動撐開的佈局

這種佈局其實是挺常見的,今天也稍作總結。 上代碼 <!DOCTYPE html> <html lang="en"> <head> <meta charset="gb2312"> <title>Title</title> <style> .box{ width:800px; height:300px;
相關文章
相關標籤/搜索