css
刘已墨
这个作者很懒,什么都没留下…
展开
-
CSS 背景图片适应分辨率全屏居中
bak{ position: relative; overflow: hidden; width: 1920px; height: 876px; line-height: normal; margin-left: 50%; left: -960px; background-attachment: scroll; background-color: #FFFFFF; background-image...原创 2018-03-21 15:32:12 · 1407 阅读 · 0 评论 -
织梦不同栏目不同Banner
织梦不同栏目不同Banner<style>.in-banner{{dede:field name='topid' runphp='yes'} if(@me==0){@me='background-image: url(/images/cjfx-bj.jpg);';} if(@me==1){ @me='background-image: url(/images/about-bj...转载 2018-05-25 14:32:32 · 560 阅读 · 0 评论 -
上层一些可以让下层的 fixed 属性无效的属性
-webkit-perspective: 1000px; perspective: 1000px; /*父层 -webkit-perspective可以让下层的 fixed 属性无效*/ 父元素有一个 transform 属性 也可以让下层的 fixed 属性无效*/ 父元素的 -webkit-overflow-scrolling 属性值为 touch,子元素的 po...原创 2018-11-12 09:50:57 · 513 阅读 · 0 评论