图片效果

image.png
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body{
margin:50px;
padding:50px;
background-color: azure;

    }

img{
border-style: solid;
border-color: cornflowerblue;
border-width: 5px;

     }
    .border-radius1{

border-radius:10px ;

    }
    .border-radius1:hover{

border-radius:50% ;

    }
    .box{

overflow: hidden;

    }
    .border-radius2{

transition: 0.6s;

    }
    .border-radius2:hover{

transform: scale(1.4);

    }
    .border-radius3{

transition: 0.5s;

    }
    .border-radius3:hover{

transform: rotate(50deg);

    }
    .border-radius4{

opacity:1;

    }
    .border-radius4:hover{

opacity: 0.5;

    }

</style>
</head>
<body>
<span >
<img src="F:/波波/a.jpg" width="200" height="200" class="border-radius1"/>
</span>
<span class="box">
<img src="F:/波波/b.jpg" width="200" height="200" class="border-radius2"/>
</span>
<span>
<img src="F:/波波/c.jpg" width="200" height="200" class="border-radius3" />
</span>
<span>
<img src="F:/波波/d.jpg" width="200" height="200" class="border-radius4"/>
</span>
</body>
</html>

评论

暂无评论