• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
倪殤
博客园    首页    新随笔    联系   管理    订阅  订阅

0基础学前端 要学会看图片呼吸灯效果html纯代码

0基础学前端 要学会看图片呼吸灯效果html纯代码 + WEB前端互动交流群04 找CC哟~~~

<!DOCTYPE HTML>

<html>

 

<head>

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<title>test</title>

<style type="text/css">

ol, ul { list-style: none; }

li { width: 180px; height: 120px; display: inline-block; }

li img { display: block; width: 140px; height: 80px; box-shadow: 0px 0px 18px rgba(0, 0, 0, .4); -webkit-transition: all ease 1s; -moz-transition: all ease 1s; -o-transition-delay: all ease 1s; transition: all ease 1s; }

li img:hover { -webkit-transform: scale(1.2, 1.2); -moz-transform: scale(1.2, 1.2); -transform: scale(1.2, 1.2); -webkit-transition: all ease 1s; -moz-transition: all ease 1s; -o-transition-delay: all ease 1s; transition: all ease 1s; }

</style>

</head>

 

<body>

<ul>

<li>

<a href="#"><img src="#" width="140" height="80" alt=""></a>

</li>

<li>

<a href="#"><img src="#" width="140" height="80" alt=""></a>

</li>

</ul
>

</body>

 

</html>

​

posted @ 2017-04-27 09:36  倪殤  阅读(443)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3