文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > CSS 背景(css background)
侵权投诉

CSS 背景(css background)

CSS 背景(css background)

CSS 背景(css background)

CSS 背景-CSS background

CSS 背景(css background)

一、Css background背景语法

CSS背景基础知识

CSS 背景这里指通过CSS对对象设置背景属性,如通过CSS设置背景各种样式。 背景语法:

background: background-color || background-image || background-repeat || background-attachment ||background-position

CSS中背景单词:

background CSS手册查询-background手册

background-color 设置颜色作为对象背景颜色

background-image 设置图片作为背景图片

background-repeat 设置背景平铺重复方向

background-attachment 设置或检索背景图像是随对象内容滚动还是固定的。 background-position 设置或检索对象的背景图像位置。

Background背景样式的值是复合属性值组合,也就是背景单词的值可以跟多个属性值,值与值之间使用一个空格间隔链接上即可。

如:

background:#000 url(图片地址) no-repeat left top

Css background背景作用:

1、设置纯色背景。背景background可以设置对象纯色的背景颜色,

2、设置图为背景。可以设置对象背景为图片,如果背景是图片可以让图片重复平铺横铺,或将图片作为对象背景固定在对象任何位置。

第1页

你可能喜欢

热门文档

相关文档

  • CSS背景background、background-position使用详解

    CSS 背景 background、background-position 使用详解 这篇文章主要介绍了 CSS 背景 background、background-position 使用方法,需要的朋友 可以参考下 背景(background)...

  • css background之设置图片为背景技巧

    css background之设置图片为背景技巧_IT/计算机_专业资料。css background之设置图片为背景技巧css background 之设置图片为背景技巧 ss background 之设置图片为背景...

  • CSS3 background 分别设置多个背景图片

    CSS3 background 分别设置多个背景图片_互联网_IT/计算机_专业资料。CSS3 background 分别设置多个背景图片,资源免费,大家分享!CSS3 允许给 box/div 元素设置多...

  • css background之设置图片为背景技巧

    css background 之设置图片为背景技巧 css background 之设置图片为背景技巧-css 背景 Background 是什么意思,翻译过来有背景意思。同样在 css 里面作为 css 属性 一...

  • CSS背景属性

    ? ? ? 背景附着属性 background-attachment body {background-image:url(../images/css_tutorials/background.jpg); background-repeat:no-repeat; background...

  • CSS 中背景background的语法总结

    CSS 中背景background的语法总结_其它语言学习_外语学习_教育专区。一些常用的CSS背景的语法css 中背景 background 的语法总结 起因: 以前,觉得自己对样式表还是...

  • CSS背景属性

    演示示例 背景附着属性 background-attachment body {background-image:url(../images/css_tutorials/background.jpg); background-repeat:no-repeat; background...

  • 利用CSS定位背景图片 background-position

    利用CSS定位背景图片 background-position_IT/计算机_专业资料。难得的CSS应用进阶教程,非常实用,很多大型站点都用到的一个技术,菜鸟很难学到的东西,呵呵 希望对大家...

  • CSS背景颜色 背景图片 居中 重复 固定样式background经...

    CSS 背景颜色 背景图片 居中 重复 固定样式 background 经验篇 Background CSS 背景图片与 CSS 背景颜色样式技术经验篇 我们使用 CSS Background 样式属性,可以设置...

  • 设计师必须了解的几个css background属性

    使用 CSS2 中的背景属性 回顾 CSS2 中有五个与背景相关的属性。它们是: background-color: 完全填充背景的颜色 background-image: 用作背景的图片 background-...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email