渐变色 + 屏幕缩小自动产生滚动条
生活随笔
收集整理的這篇文章主要介紹了
渐变色 + 屏幕缩小自动产生滚动条
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
漸變色代碼
.gradien{background: -moz-linear-gradient(top, #f3f3f3 0%, #fff 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#fff)); background: -webkit-linear-gradient(top, #f3f3f3 0%,#fff 100%); background: -o-linear-gradient(top, #f3f3f3 0%,#fff 100%); background: -ms-linear-gradient(top, #f3f3f3 0%,#fff 100%); background: linear-gradient(to bottom, #f3f3f3 0%,#fff 100%); text-overflow: ellipsis; } 頁面隨屏幕大小自動產(chǎn)生橫向和縱向滾動條?<style>
body{? margin:0px;
? width:100%;
? min-width:1500px;
? max-width:100%;
? height:100%;
?
}
#head{
?
? width:100%;
? height:100px;
}
#center{
?
? width:100%;
? min-height:100%;
}
#foot{
?
? width:100%;
? height:100px;
}
</style>
轉(zhuǎn)載于:https://www.cnblogs.com/maibao666/p/11057557.html
與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖總結(jié)
以上是生活随笔為你收集整理的渐变色 + 屏幕缩小自动产生滚动条的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux下安装JDK和验证
- 下一篇: PostgreSQL 数据库备份