css3 属性总结

1、字体样式  属性   

  描边属性  -webkit-text-stroke : 1px color; //谷歌私有前缀

  字体镂空:color: 透明 

  

2、字体阴影

  text-shadow : 阴影1,阴影2.。。。

  阴影格式 :   第一个参数 横向偏移位置  

        第二个参数  纵向偏移位置

        第三个参数值  模糊值

        第四个  color

3、盒子阴影

  box-shadow : 阴影1,阴影2。。。

  阴影格式:水平偏移位置、垂直偏移位置、模糊度、外颜值、颜色、(内置阴影 inset)

4、css 渐变

  线性渐变

  

  

 

  径向渐变 

  

5、transform2D

  transform: translate(x,y) /scale()缩放 /rotate(45deg)旋转45度 /skew(45deg)倾斜45度

 

6、transform3D

 

  

 

7、过渡效果

  transition

8、动画效果

  8.1定义keyframes

  

   8.2 animation    

  animation: name 3s linear infinite;

 

 

 

 

 

 

 

  

 

posted @ 2022-06-21 15:01  Nickcs  阅读(55)  评论(0)    收藏  举报