摘要:
精灵技术 减少服务器的请求次数 把一些小的图片整合到一张大的图 Fireworks与photoshop cs6使用差不多 使用方法: 1.主要针对小的背景图片使用,就是把多个小背景图片整合到一张大图片上 2.这个大图片也称之为sprites图或者雪碧图 3.移动背景图片位置可以使用backgroun 阅读全文
摘要:
定位分两部分 定位模式: 静态定位:static (具备标准流的条件) 相对定位:relative 自恋狂 1.相对于自己原来的位置进行移动 2.不脱离标准流,占有原来的位置 绝对定位:absolute 1.如果没有父元素或者没有给父元素设置定位那么就会以浏览器定位 2.如果父元素以及之上的前辈(固 阅读全文
摘要:
圆角 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>边框圆角</title> <style> /*div {*/ /* !*矩形边框*!*/ /* height: 100px;*/ /* width: 20 阅读全文
摘要:
一.CSS三大特性以及五彩导航栏 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>五彩导航</title> <style> body { color: pink; font: 12px/1.5 'Micros 阅读全文
摘要:
font字体/background系列操作 font-family、size、style、weight、以及复合写法font p.ex1 { font:italic arial,sans-serif; } p.ex2 { font:italic bold 12px/20px arial,sans-s 阅读全文
摘要:
一.备份原来ubuntu的下载源文件 1 cd /etc/apt 2 ls 3 cp sources.list sources.list .bak 4 gedit sources.list 5 vim sources.list 二.替换阿里云源 1 deb http://mirrors.aliyun 阅读全文