前端基礎面試題

頁面佈局 題目:假設高度已知,請寫出三欄佈局,其中左欄,右欄寬度各爲300px,中間自適應 – 方案一:兩邊元素浮動不佔位置,中間元素佔父容器寬度百分之百css <!DOCTYPE html> <html> <head> <style type="text/css"> *{ margin: 0; padding: 0; } div{ height:
相關文章
相關標籤/搜索