Home > Web Front-end > HTML Tutorial > border-radius结合transition的一个小应用(动画)

border-radius结合transition的一个小应用(动画)

WBOY
Release: 2016-05-27 08:46:56
Original
1692 people have browsed it
<br>    <meta charset="UTF-8"><br>    <title></title><br>    <style type="text/css"><br />        .box{<br />            display:block;<br />            height:350px;<br />            width:250px;<br />            background:#ddd;<br />            cursor:pointer;<br />            -webkit-transition: 0.4s;<br />            -moz-transition: 0.4s;<br />            -ms-transition: 0.4s;<br />            -o-transition: 0.4s;<br />            transition: 0.4s;<br />        }<br />        .box:hover{<br />            border-top-right-radius:180px 120px;background: rgba(246,246,247,0.9);<br />        }<br />    </style><br><br><br><a class="box"></a><br><br>
Copy after login
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template