大佬教程收集整理的这篇文章主要介绍了HTML – 我可以只对图像部分应用CSS(3)过滤器吗?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
.bg { left: 0; min-height: 100%; min-width: 100%; position: fixed; top: 0; z-index: -1; }
并且想要应用CSS3过滤器,我个人想使用模糊效果,在与我的身体相同的位置
.container { margin: 0 auto; width: 1000px; }
这是一个例子:
screenshot http://imageshack.us/a/img443/4976/j7qj.jpg
我想在模糊的容器上写文字.
CSS
body { position: absolute; top: 0; bottom: 0; left: 0; right: 0; BACkground: url(http://lorempixel.com/420/255) no-repeat center center fixed; BACkground-size: cover; } body:before { left: 0; right: 0; margin-left:auto; margin-right:auto; content: ""; position: absolute; height: 100%; width: 500px; BACkground: url(http://lorempixel.com/420/255) no-repeat center center fixed; BACkground-size: cover; z-index: -1; filter: blur(5pX); -webkit-filter: blur(5pX); } div { height: 100%; width: 450px; margin: 0 auto; }
以上是大佬教程为你收集整理的HTML – 我可以只对图像部分应用CSS(3)过滤器吗?全部内容,希望文章能够帮你解决HTML – 我可以只对图像部分应用CSS(3)过滤器吗?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。