Floated div, 100% height

后端 未结 3 1961
南方客
南方客 2021-01-07 01:46

t\"enter

***** {

    -webkit-tap-highligh         


        
3条回答
  •  佛祖请我去吃肉
    2021-01-07 02:00

    1. Set the three elements' container (#footer-gradient) display: table
    2. And set the elements themselves (.col) display: table-cell
    3. Remove the floating.
    4. Success.

    #footer-gradient {
        display: table;
    }
    #footer-gradient .col {
        display: table-cell;
        float: none;
    }
    

提交回复
热议问题