zoukankan      html  css  js  c++  java
  • 文字与图像

    font-family

    font-size
    line-height  两行文字基线之间的距离
    子元素标签具有集成父元素的属性值
    color ( blut;#0000ff;#off;rgb(0,0,255);rgb(0%,0%,0%))
    font-weight
    font-style   倾斜
    text-decoration 装饰效果   下划线  闪烁等等
    text-align 对其方式
    text-indent   缩进
    vertical-align垂直对齐  段落  
     
     
    图像:
     
    设置图像的边距  内外边距  大小等
    背景图像background-image:url()
    background-repeat:repeat
    no-repeat
    repeat-f
    repeat-y
    background-color
    背景样式的简写
    background-image:url...;
    ...   -repeat:url...;
    ...   -color:....;
    background:#...  url()  repeat-x;
     
     
     
    标题图像替换
    <h1><span>标题<span><h1>设置为隐藏 display:hidden  或none
    1.标题图像与背景图像融合
    fireworks 处理标题图像背景为透明   格式再替换 原有的标题 背景图像
    2.标题的对齐方式
    background-position  left  right   top    bottom   center
    3.phark图像替换
    4.改进的图像替换法
    <h1><span></span>headline</h1>
     
     
     
    为图像增加投影效果   
    1.基本方法  准备一个阴影图片    
               <div class="2">
    <div><img src="图像"/></div>
    </div>
    2.滑动门技术
  • 相关阅读:
    CSS常用伪类
    HTML5常用API
    HTML5新技术FormData提交表单数据
    WebPack打包后如何调试
    layui的初体验(layer的使用)
    java数组
    java:注解
    java反射:框架设计的灵魂
    885历年编程题
    2020年专业课编程题
  • 原文地址:https://www.cnblogs.com/dongguolei/p/7902952.html
Copyright © 2011-2022 走看看