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 { 180px; height: 120px; display: inline-block; }

li img { display: block; 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>

原文地址:https://www.cnblogs.com/xsns/p/6772605.html