zoukankan      html  css  js  c++  java
  • 现在网页中流行的css3样式

    1、鼠标放在圆形图片中,图片渐渐的变方形【17素材头像的特效,觉得不错就研究下来了 ———— 17sucai.com

    img{border-radius:50%;transition: all .4s ease-out;}

    a:hover img{border-radius:0px;}


    2、当鼠标放到菜单或者图片上时,菜单或图片会渐渐的移动  【忘记在哪看的了,不过效果确实很不错

    a{transition:all 0.3s ease-out 0s;color:#000;} 

    a:hover{margin-left:5px; text-decoration:none;}



    3、当鼠标放到图片上,图片会旋转一定的角度,【类似天猫首页右侧的便民服务,其实原理就是相同的背景图片

    i{        background: url(../images/lobg.png) no-repeat; 30px; height:30px;}


    i:hover{         background-position0 -30px;       transition: all .4s ease-out;}

  • 相关阅读:
    ssd笔记
    深度学习 参数笔记
    NVIDIA驱动安装
    下载大文件笔记
    vue中使用echart笔记
    torch.no_grad
    暑期第二周总结
    暑期第一周总结
    第十六周学习进度
    期末总结
  • 原文地址:https://www.cnblogs.com/goodbeypeterpan/p/4011105.html
Copyright © 2011-2022 走看看