fixed

之前我们见的fixed就是固定在低端。后来我遇到一个问题

如果  这样写:

div{

position: fixed;

 left: 0;

 bottom: 0;

 

}

内容吧div撑开,有多少算多少

div{

position: fixed;

 left: 0;

right: 0;

 bottom: 0;

 

}

直接占最大宽度100%;

 

posted @ 2017-05-22 18:01  以后。h  阅读(409)  评论(0编辑  收藏  举报