草庐IT

backGround

全部标签

html - 定格动画 CSS

我正在制作一只正在奔跑的猫的定格动画。我已经准备好了所有的幻灯片。但它似乎不能正常工作:div{animation:run1ssteps(10)infinite;-webkit-animation:run1ssteps(10)infinite;background:url(http://stash.rachelnabors.com/img/codepen/tuna_sprite.png)00;background-repeat:no-repeat;height:200px;width:400px;}@keyframesrun{0%{background-position:100%0;}

php - 在 Wordpress 中显示 'Posts Page' 上的特色图片

因此,对于我的wordpress网站上的所有其他页面,我能够显示该页面的特色图片。但是,在显示我所有帖子的页面上,即使设置了特色图片也不会显示。这是我用来在所有其他页面上显示特色图片的代码。ID));}?>)!important;height:400px;background-size:cover;background-repeat:no-repeat;background-position:center;">这在选择显示帖子的页面上不起作用。请记住,我需要将特色图像显示为背景图像,以便它是页面的全宽而不是拉伸(stretch)。(IE和Edge不支持“对象位置”,所以这是我的解决方法

php - 在 Wordpress 中显示 'Posts Page' 上的特色图片

因此,对于我的wordpress网站上的所有其他页面,我能够显示该页面的特色图片。但是,在显示我所有帖子的页面上,即使设置了特色图片也不会显示。这是我用来在所有其他页面上显示特色图片的代码。ID));}?>)!important;height:400px;background-size:cover;background-repeat:no-repeat;background-position:center;">这在选择显示帖子的页面上不起作用。请记住,我需要将特色图像显示为背景图像,以便它是页面的全宽而不是拉伸(stretch)。(IE和Edge不支持“对象位置”,所以这是我的解决方法

html - 我无法删除边框

我无法从我的图像中删除边框。我已经尝试过很多次不同的属性。仍然看到白色边框。如果您对导致问题的原因有任何建议-请向我解释。我有点新手。img{border:none;text-decoration:none;}#forum{background:url(forum_button.png)0px0pxno-repeat;width:300px;height:81px;}#forum:hover{background:url(forum_button.png)-300px0pxno-repeat;width:300px;height:81px;}#facebook{background:u

html - 我无法删除边框

我无法从我的图像中删除边框。我已经尝试过很多次不同的属性。仍然看到白色边框。如果您对导致问题的原因有任何建议-请向我解释。我有点新手。img{border:none;text-decoration:none;}#forum{background:url(forum_button.png)0px0pxno-repeat;width:300px;height:81px;}#forum:hover{background:url(forum_button.png)-300px0pxno-repeat;width:300px;height:81px;}#facebook{background:u

html - CSS Angular 一个div

我在另一个div中有一个div,我正在尝试调整div的Angular,以便左侧接触左侧,右侧接触顶部。与CSS有什么关系?这是我的代码:.background{background-color:black;height:368px;}.sold{background-color:red;font-size:26px;width:200px;text-align:center;height:40px;color:white;line-height:40px;}SoldOut这是我的jfiddle:http://jsfiddle.net/vakcgvtu/ 最佳

html - CSS Angular 一个div

我在另一个div中有一个div,我正在尝试调整div的Angular,以便左侧接触左侧,右侧接触顶部。与CSS有什么关系?这是我的代码:.background{background-color:black;height:368px;}.sold{background-color:red;font-size:26px;width:200px;text-align:center;height:40px;color:white;line-height:40px;}SoldOut这是我的jfiddle:http://jsfiddle.net/vakcgvtu/ 最佳

html - 为什么我的容器背景图像被放大了?

我在浏览器中放大容器的背景图片时遇到问题。图片是1200px宽,我的容器也是1200px宽。我将它设置为我的.container选择器的背景图像。当我在浏览器中加载它时,它只显示图像的一小部分,因为到目前为止它已经放大了。为什么会这样?HTML:CSS:@font-face{font-family:"BrandonGrotesque";src:url("fonts/Brandon_Grotesque/Brandon_reg.otf")format("opentype");}html,body{padding:0;margin:0;background-color:#222222;}bo

html - 为什么我的容器背景图像被放大了?

我在浏览器中放大容器的背景图片时遇到问题。图片是1200px宽,我的容器也是1200px宽。我将它设置为我的.container选择器的背景图像。当我在浏览器中加载它时,它只显示图像的一小部分,因为到目前为止它已经放大了。为什么会这样?HTML:CSS:@font-face{font-family:"BrandonGrotesque";src:url("fonts/Brandon_Grotesque/Brandon_reg.otf")format("opentype");}html,body{padding:0;margin:0;background-color:#222222;}bo

html - 将一个div变成透明的以透视两个容器

我有以下标记并且我已经将固定背景应用于body元素,将白色背景应用于classholderbody{background:url(image.png);background-attachment:fixed;}.holder{width:500px;height:500px;background:#fff;}.circle{width:100px;height:100px;border-radius:50%;background:rgba(0,0,0,0);}我尝试做的是使圆圈透明以查看正文背景。简单地说,我正在尝试的是,使圆圈透明以查看body背景图像,而圆圈周围的白色背景仍然存在。