Home > Web Front-end > H5 Tutorial > body text

html5 CSS transition-webkit-transition usage introduction_html5 tutorial skills

WBOY
Release: 2016-05-16 15:49:13
Original
2145 people have browsed it

Copy code
The code is as follows:

-webkit-transition: all 0.5s;
color: #b91003;
margin-left: 40px !important;

The effect is that in 0.5 seconds the content font color gradually reddens to the left and gradually margin-left until 40px
Related labels:
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