Home >Web Front-end >CSS Tutorial >css transition animation effect

css transition animation effect

不言
不言Original
2018-04-27 13:55:032332browse


This article mainly introduces the css transition animation effect, which has a certain reference value. Now I share it with everyone. Friends in need can refer to it

p{  
width:40px;  height:40px;  
background:url(http://www.uc.cn/images1_4/sprite_uc_android.png);  
transition: width .6s steps(11);
}
p:hover{  
width: 100px;
}

Related recommendations :

css to implement rotating windmill

The above is the detailed content of css transition animation effect. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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