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

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

WBOY
Release: 2016-06-24 11:16:47
Original
1034 people have browsed it

<head lang="en"><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 /></head><br /><body><br /><a class="box"></a><br /></body><br /></html>
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