站点

Git规范

Iconfont图标

iconfont.css modify:

.saintic-icon-0-5{font-size: 0.5em;}

.saintic-icon-1{font-size: 1em;}

.saintic-icon-1-5{font-size: 1.5em;}

.saintic-icon-2{font-size: 2em;}

.saintic-icon-2-5{font-size: 2.5em;}

.saintic-icon-3{font-size: 3em;}

.saintic-icon-3-5{font-size: 3.5em;}

.saintic-icon-4{font-size: 4em;}

.saintic-icon-4-5{font-size: 4.5em;}

.saintic-icon-5{font-size: 5em;}

.saintic-icon-spin {
    -webkit-animation: saintic-icon-spin 3s infinite linear;
    animation: saintic-icon-spin 3s infinite linear;
}

.saitnic-icon-pulse {
    -webkit-animation: saintic-icon-spin 1s infinite steps(8);
    animation: saintic-icon-spin 1s infinite steps(8);
}

@-webkit-keyframes saintic-icon-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes saintic-icon-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

iconfont.css compress:

$ yarn global add uglify-tool
$ ug iconfont.css iconfont.min.css