css旋转的符号

正文开始

<style>
@-webkit-keyframes zmdi-spin{
0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}
}
@keyframes zmdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}

.zmdi-hc-spin{-webkit-animation:zmdi-spin 1.5s infinite linear;animation:zmdi-spin 1.5s infinite linear}
.zmdi-settings:before {
    content: '符号';
}
.zmdi {
    display: inline-block;
    font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
    font-size: 18px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #0000ff;
}
</style>
<i class="zmdi zmdi-settings zmdi-hc-spin"></i>

预览效果

/upload/post_files/578/旋转符号.html

正文结束

Flex 布局教程:语法篇 css h5定义宽度减去像素